Commit fbedbe8d by Hagai Kariti

Don't return 'state' attr in bigpanda module

Fixes a double parameter being passed afterwards
parent 8604f6dc
...@@ -143,7 +143,7 @@ def main(): ...@@ -143,7 +143,7 @@ def main():
request_url = url + '/data/events/deployments/end' request_url = url + '/data/events/deployments/end'
# Build the deployment object we return # Build the deployment object we return
deployment = dict(token=token, state=state, url=url) deployment = dict(token=token, url=url)
deployment.update(body) deployment.update(body)
if 'errorMessage' in deployment: if 'errorMessage' in deployment:
message = deployment.pop('errorMessage') message = deployment.pop('errorMessage')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment