There was a subtle bug where a function call was being overwritten by a
local variable of the same name and then a call to the function was
being attempted.
Change-Id: I7316df0c773db347ccb1e7eb79e2f40fee3a9db2
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
def helper_create_group(group):
"""Create group."""
- check_response_code = helper_check_group_exists(group)
- if check_response_code == 200:
+ response_code = helper_check_group_exists(group)
+ if response_code == 200:
print("Group {} already exists exiting...".format(group))
else:
access_token, url = oauth_helper()
--- /dev/null
+---
+fixes:
+ - |
+ There was a subtle bug where a function call was being overwritten by a
+ local variable of the same name and then a call to the function was
+ being attempted.