Revision 8a37b426 lib/client/gnt_debug.py
b/lib/client/gnt_debug.py | ||
---|---|---|
642 | 642 |
if len(args) != 2: |
643 | 643 |
ToStderr("Command 'listlocks' takes only precisely argument.") |
644 | 644 |
return 1 |
645 |
result = wconfd.Client().ListLocks(int(args[1]), "")
|
|
646 |
# TODO: add canonical path to death-detection file for that job
|
|
647 |
# once that is implemented
|
|
645 |
result = \
|
|
646 |
wconfd.Client().ListLocks(int(args[1]),
|
|
647 |
utils.livelock.GuessLockfileFor("masterd"))
|
|
648 | 648 |
print "Answer: %s" % (result,) |
649 | 649 |
else: |
650 | 650 |
ToStderr("Command '%s' not supported", args[0]) |
Also available in: Unified diff