Skip to content

Commit

Permalink
Add a "synchronous service status eval" after cf fetch
Browse files Browse the repository at this point in the history
So changes are honored by the peers asap.
  • Loading branch information
cvaroqui committed Jul 15, 2019
1 parent 56dae82 commit 0b801bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/osvcd_mon.py
Expand Up @@ -258,6 +258,8 @@ def sync_services_conf(self):
self.fetch_service_config(path, ref_nodename)
if new_service:
self.init_new_service(path)
else:
self.service_status_fallback(path)

def init_new_service(self, path):
name, namespace, kind = split_path(path)
Expand Down

0 comments on commit 0b801bd

Please sign in to comment.