2 Commits

Author SHA1 Message Date
Thomas Oddsund
dcaec012e2
Check for error from Azure when using the private-cluster feature (#270)
* Check for error from Azure

Move the error check for Azure earlier, so that a well defined error is
thrown on error instead of a JSONSyntax error.

The issue is that when Azure returns an error, like when there's an
issue with the access to the principal used. When this happens, the
stdout field will be an empty string, and the error message will be set.

* Restore check for deserialized exitCode
2023-01-03 10:09:55 -05:00
Jaiveer Katariya
58ba3f0665
new commit with all changes (#258) 2022-11-21 10:30:35 -05:00