Skip to content
Permalink
Browse files

Fix calls to collector rest helpers from the Svc class

The 'svcname' kwarg changed to 'path'.
Make these last callers follow the change.
  • Loading branch information...
cvaroqui committed Jul 9, 2019
1 parent 0ccdf0f commit 1b4a498d1b44cbaa05dc3174d4451652f7f34a2b
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/svc.py
@@ -2490,19 +2490,19 @@ def _set_purge_collector_tag(self):
raise ex.excError(data["error"])

def collector_rest_get(self, *args, **kwargs):
kwargs["svcname"] = self.path
kwargs["path"] = self.path
return self.node.collector_rest_get(*args, **kwargs)

def collector_rest_post(self, *args, **kwargs):
kwargs["svcname"] = self.path
kwargs["path"] = self.path
return self.node.collector_rest_post(*args, **kwargs)

def collector_rest_put(self, *args, **kwargs):
kwargs["svcname"] = self.path
kwargs["path"] = self.path
return self.node.collector_rest_put(*args, **kwargs)

def collector_rest_delete(self, *args, **kwargs):
kwargs["svcname"] = self.path
kwargs["path"] = self.path
return self.node.collector_rest_delete(*args, **kwargs)

def options_to_rids(self, options, action):

0 comments on commit 1b4a498

Please sign in to comment.
You can’t perform that action at this time.