diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-09-10 17:04:30 +0300 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-09-11 07:10:48 +0000 |
commit | 8ac8f359b24c8583eb1a15b9926929770b869db8 (patch) | |
tree | bc903225e4d77c9501f001f6f8be5181eb1cd30f /doc | |
parent | 170e848b940615eb9f366211d7a79cc3033902cb (diff) |
mgmt xlators: store boolean fields using integer
Surprisingly, there is not set_boolean() as there is a get_boolean()
In fact, it is stored as an INT dictionary type.
In some occasions it was stored using a string, and this caused
errors such as:
key gfproxy-server, integer type asked, has string type [Invalid argument]
I've fixed what I saw in some logs, I'm sure there are more.
The CORRECT fix is to create a boolean set and use it, but this
requires a bit more work. I'll see if I can do it later on.
Only compile-tested!
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Change-Id: I45fd0c7a0824b2f42b8ce510296c9dfa4f32ad66
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions