Hi Libor,
conf-get after conf-commit returns the same value as before, so the
change did not really happen.
# knotc conf-get template[default].notify
template[default].notify = 1 2 3 4 5 6 7 8 9
#
knotc conf-begin
OK
# knotc conf-set -b template[default].notify
1 2 4 5 6 7 8 9
OK
# knotc conf-get template[default].notify
template[default].notify = 1 2 3 4 5 6 7 8 9
#
knotc conf-commit
OK
# knotc conf-begin
OK
# knotc conf-get template[default].notify
template[default].notify = 1 2 3 4 5 6 7 8 9
#
knotc conf-abort
OK
Thanks for your help.
Zdenek
On 03. 12. 20 17:42, libor.peltan wrote:
> Hi Zdeněk,
>
> the empty conf-diff is suspicious.
>
> Could you try what says conf-get after you confirm with conf-commit ?
>
> Thanks,
>
> Libor
>
> Dne 03. 12. 20 v 17:26 Zdenek Novy napsal(a):
>> Hello,
>> I'm trying to remove the slave node from the master Knot, result code
>> is 0, but no change happened. There is no information in the log file.
>> Can you please help me, why does it happen?
>>
>> # knotc conf-get template[default].notify
>>
template[default].notify =
1 2 3 4 5 6 7 8 9
>> # knotc conf-begin
>>
OK
>> # knotc
conf-set -b template[default].notify 1 2 4 5 6 7 8 9
>>
OK
>> # knotc
conf-diff
>> (no output)
>> # knotc conf-get template[default].notify
>>
template[default].notify =
1 2 3 4 5 6 7 8 9
>>
>> Thanks for your help.
>> --
>> Zdeněk Nový
>> Linux administrator
>>
>> ACTIVE 24, s.r.o.
>> Sokolovská 394/17 186 00 Praha 8
>> Web:http://www.active24.cz
>>