diff --git a/src/bastion/HISTORY.rst b/src/bastion/HISTORY.rst index 585f342f68..e804dc7777 100644 --- a/src/bastion/HISTORY.rst +++ b/src/bastion/HISTORY.rst @@ -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. @@ -29,4 +33,4 @@ Release History 0.1.0 ++++++ -* Initial release. \ No newline at end of file +* Initial release. diff --git a/src/bastion/azext_bastion/tunnel.py b/src/bastion/azext_bastion/tunnel.py index 334f052d5f..1e86f74837 100644 --- a/src/bastion/azext_bastion/tunnel.py +++ b/src/bastion/azext_bastion/tunnel.py @@ -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"] diff --git a/src/bastion/setup.py b/src/bastion/setup.py index 67ad198ed9..e7923cd974 100644 --- a/src/bastion/setup.py +++ b/src/bastion/setup.py @@ -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