Commit ea0d8b70 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

qa_daemon: Virtual cluster support



Use virtual node path when removing the watcher status file.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent 7160f14a
......@@ -65,10 +65,11 @@ def _ResetWatcherDaemon():
"""Removes the watcher daemon's state file.
"""
AssertCommand([
"bash", "-c",
"rm -vf %s" % (pathutils.WATCHER_GROUP_STATE_FILE % "*-*-*-*"),
])
path = \
qa_utils.MakeNodePath(qa_config.GetMasterNode(),
pathutils.WATCHER_GROUP_STATE_FILE % "*-*-*-*")
AssertCommand(["bash", "-c", "rm -vf %s" % path])
def _RunWatcherDaemon():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment