Skip to content

Commit

Permalink
fix for issue-102 (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtarking authored May 13, 2022
1 parent c60527c commit 977b1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmanage/api/policy_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def update_policy_definition(self, policy_type, name, policy_id, policy_def, new
"sequences": policy_def["sequences"]
}

api = "template/policy/definition/%s/%s" % (policy_type, policy_id)
api = "template/policy/definition/%s/%s" % (policy_type.lower(), policy_id)
url = self.base_url + api
response = HttpMethods(self.session, url).request('PUT', payload=json.dumps(payload))

Expand Down

0 comments on commit 977b1a2

Please sign in to comment.