Skip to content

Commit

Permalink
login-broker: fix 'lb set update' command
Browse files Browse the repository at this point in the history
Motivation:
the 'lb set update` command ignores the provided value and set the
existing one again.

Modification:
pass admin provided values to the lb configuration.

Result:
lb update time's can be modified through admin interface.

Acked-by: Lea Morschel
Acked-by: Paul Millar
Target: master, 6.1, 6.0, 5.2
Require-book: no
Require-notes: yes
(cherry picked from commit 80a905a)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
  • Loading branch information
kofemann authored and mksahakyan committed Apr 24, 2020
1 parent db91dfd commit de8e13a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class SetUpdateCommand implements Callable<String>
public String call() throws IllegalArgumentException
{
checkArgument(time >= 2, "Update time out of range.");
setBrokerUpdateTime(_brokerUpdateTime, _brokerUpdateTimeUnit);
setBrokerUpdateTime(time, TimeUnit.SECONDS);
return "";
}
}
Expand Down

0 comments on commit de8e13a

Please sign in to comment.