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:
2
vendor/github.com/Azure/go-autorest/autorest/azure/token.go
generated
vendored
2
vendor/github.com/Azure/go-autorest/autorest/azure/token.go
generated
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user