Skip to content

Commit

Permalink
fix deserialize issue in amg notif channel test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeralan committed Jan 8, 2025
1 parent 8372a52 commit 9d32ccc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/amg/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ Release History
++++++
* `az grafana dashboard import`: fix issue with JSON file validation
* `az grafana folder update`: fix issue with overwrite setting

2.5.5
++++++
* `az grafana notification-channel test`: fix issue with test output parsing
2 changes: 1 addition & 1 deletion src/amg/azext_amg/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def test_notification_channel(cmd, grafana_name, notification_channel, resource_
api_key_or_token=api_key_or_token)
response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications/test",
data, api_key_or_token=api_key_or_token)
return response
return json.loads(response.content)


def create_folder(cmd, grafana_name, title, resource_group_name=None, api_key_or_token=None, subscription=None):
Expand Down
2 changes: 1 addition & 1 deletion src/amg/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.
VERSION = '2.5.4'
VERSION = '2.5.5'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down

0 comments on commit 9d32ccc

Please sign in to comment.