Skip to content

Commit

Permalink
Update harmony_deploy.py
Browse files Browse the repository at this point in the history
Needs to fail if can't update service version
  • Loading branch information
jamesfwood authored Dec 18, 2024
1 parent e0704aa commit 4c35e34
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions deployment/harmony_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ def bearer_token() -> str:
}

response = requests.put(url, headers=headers, json=data)
response.raise_for_status()

print(response.status_code)
try:
print(response.json())
except json.JSONDecodeError:
print("Response content is not in JSON format")
print(f"Response JSON: {response.json()}")

0 comments on commit 4c35e34

Please sign in to comment.