Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Bastion} az network bastion rdp fails with NullPointerException #6514

Merged
merged 3 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/bastion/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
0.2.5
++++++
* Fixing the command `az network bastion rdp` to avoid the `java.lang.NullPointerException` while calling `get_auth_token` function

0.2.4
++++++
* Fixing blocking of IP connect with AZ CLI tunnel to allow only standard ports.
Expand Down Expand Up @@ -29,4 +33,4 @@ Release History

0.1.0
++++++
* Initial release.
* Initial release.
2 changes: 1 addition & 1 deletion src/bastion/azext_bastion/tunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _get_auth_token(self):
exp = CloudError(response, error=response_json["message"])
else:
exp = CloudError(response)
raise exp
raise exp

self.last_token = response_json["authToken"]
self.node_id = response_json["nodeId"]
Expand Down
2 changes: 1 addition & 1 deletion src/bastion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# HISTORY.rst entry.
VERSION = '0.2.4'
VERSION = '0.2.5'

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