LGTM, thanks
On Fri, Mar 28, 2014 at 1:40 PM, Klaus Aehlig <[email protected]> wrote: > As, during startup, masterd uses livelock files for special > tasks, the lexicographically last livelock file for masterd > is the masterd_check_agreement_ file. However, when debugging, > we want the primary livelock file. Hence extend the prefix to > include the leading digit 1 of the time, which will work till > Wed May 18 05:33:20 CEST 2033. > > Signed-off-by: Klaus Aehlig <[email protected]> > --- > lib/client/gnt_debug.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/client/gnt_debug.py b/lib/client/gnt_debug.py > index 60d9b3e..ca384c5 100644 > --- a/lib/client/gnt_debug.py > +++ b/lib/client/gnt_debug.py > @@ -643,7 +643,7 @@ def Wconfd(opts, args): # pylint: disable=W0613 > ToStderr("Command 'listlocks' takes precisely one argument.") > return 1 > wconfdcontext = (int(args[1]), > - utils.livelock.GuessLockfileFor("masterd")) > + utils.livelock.GuessLockfileFor("masterd_1")) > result = wconfd.Client().ListLocks(wconfdcontext) > print "Answer: %s" % (result,) > else: > -- > 1.9.1.423.g4596e3a > >
