Don't return 'state' attr in bigpanda module

Fixes a double parameter being passed afterwards
reviewable/pr18780/r1
Hagai Kariti 10 years ago
parent 57f3888b13
commit 472614c988

@ -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')

Loading…
Cancel
Save