Skip to content

Commit

Permalink
Fix the Svc::action() prototype
Browse files Browse the repository at this point in the history
options miss its None default value.
  • Loading branch information
cvaroqui committed Jun 18, 2017
1 parent 1e1ea09 commit 53921e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/svc.py
Expand Up @@ -3321,7 +3321,7 @@ def options_to_rids(self, options):

return rids

def action(self, action, options):
def action(self, action, options=None):
"""
Filter resources on which the service action must act.
Abort if the service is frozen, or if --cluster is not set on a HA
Expand Down

0 comments on commit 53921e6

Please sign in to comment.