Skip to content

Commit

Permalink
Add information to the "collector untag" commands
Browse files Browse the repository at this point in the history
Examples:

$ om node collector untag --tag raw::test
tag is already detached

$ om node collector untag --tag raw::test
tag successfully detached
  • Loading branch information
cvaroqui committed Jun 7, 2023
1 parent de86d7f commit 5f5afa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opensvc/core/collector/actions.py
Expand Up @@ -225,6 +225,8 @@ def collector_untag(self):
raise ex.Error("xmlrpc unknown failure")
if d['ret'] != 0:
raise ex.Error(d['msg'])
elif d.get("msg"):
print(d.get("msg"))

def collector_tag(self):
opts = {}
Expand Down

0 comments on commit 5f5afa4

Please sign in to comment.