Update go-autorest library to v7.2.3

To include https://github.com/Azure/go-autorest/pull/107
Improves https://github.com/kubernetes/kubernetes/issues/35180
This commit is contained in:
Alexander Block
2017-01-18 14:47:31 +01:00
parent fe69dcf861
commit f812c2f2ac
5 changed files with 27 additions and 15 deletions

View File

@@ -302,7 +302,7 @@ func (spt *ServicePrincipalToken) refreshInternal(resource string) error {
var newToken Token
err = autorest.Respond(resp,
autorest.WithErrorUnlessOK(),
autorest.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&newToken),
autorest.ByClosing())
if err != nil {