diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 44de099b8..fa3e996ea 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -39,23 +39,23 @@ }, { "ImportPath": "github.com/Azure/go-autorest/autorest", - "Comment": "v7.0.5", - "Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" + "Comment": "v7.0.6", + "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561" }, { "ImportPath": "github.com/Azure/go-autorest/autorest/azure", - "Comment": "v7.0.5", - "Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" + "Comment": "v7.0.6", + "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561" }, { "ImportPath": "github.com/Azure/go-autorest/autorest/date", - "Comment": "v7.0.5", - "Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" + "Comment": "v7.0.6", + "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561" }, { "ImportPath": "github.com/Azure/go-autorest/autorest/to", - "Comment": "v7.0.5", - "Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" + "Comment": "v7.0.6", + "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561" }, { "ImportPath": "github.com/Azure/go-ntlmssp", diff --git a/vendor/github.com/Azure/go-autorest/autorest/azure/persist.go b/vendor/github.com/Azure/go-autorest/autorest/azure/persist.go index db8bdce48..d5cf62ddc 100644 --- a/vendor/github.com/Azure/go-autorest/autorest/azure/persist.go +++ b/vendor/github.com/Azure/go-autorest/autorest/azure/persist.go @@ -14,6 +14,7 @@ func LoadToken(path string) (*Token, error) { if err != nil { return nil, fmt.Errorf("failed to open file (%s) while loading token: %v", path, err) } + defer file.Close() var token Token