1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8922 from hkariti/bigpanda_state_fix

Don't return 'state' attr in bigpanda module
This commit is contained in:
James Cammarata 2014-09-08 22:06:53 -05:00
commit 062b761737

View file

@ -143,7 +143,7 @@ def main():
request_url = url + '/data/events/deployments/end'
# Build the deployment object we return
deployment = dict(token=token, state=state, url=url)
deployment = dict(token=token, url=url)
deployment.update(body)
if 'errorMessage' in deployment:
message = deployment.pop('errorMessage')