Commit 173dbf05 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Remove WATCHER_STATEFILE constant


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent a292020f
......@@ -136,7 +136,6 @@ NODED_CERT_FILE = DATA_DIR + "/server.pem"
RAPI_CERT_FILE = DATA_DIR + "/rapi.pem"
CONFD_HMAC_KEY = DATA_DIR + "/hmac.key"
CLUSTER_DOMAIN_SECRET_FILE = DATA_DIR + "/cluster-domain-secret"
WATCHER_STATEFILE = DATA_DIR + "/watcher.data"
INSTANCE_STATUS_FILE = RUN_GANETI_DIR + "/instance-status"
SSH_KNOWN_HOSTS_FILE = DATA_DIR + "/known_hosts"
RAPI_USERS_FILE = DATA_DIR + "/rapi/users"
......
......@@ -65,7 +65,6 @@ def _ResetWatcherDaemon():
"""Removes the watcher daemon's state file.
"""
AssertCommand(["rm", "-f", constants.WATCHER_STATEFILE])
AssertCommand([
"bash", "-c",
"rm -vf %s" % (constants.WATCHER_GROUP_STATE_FILE % "*-*-*-*")
......
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