Update to go-autorest v7.0.6.

This commit is contained in:
Paul Meyer 2016-06-10 14:23:42 -07:00
parent e3ae5c7454
commit 1fa8255bdb
2 changed files with 9 additions and 8 deletions

16
Godeps/Godeps.json generated
View File

@ -39,23 +39,23 @@
}, },
{ {
"ImportPath": "github.com/Azure/go-autorest/autorest", "ImportPath": "github.com/Azure/go-autorest/autorest",
"Comment": "v7.0.5", "Comment": "v7.0.6",
"Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561"
}, },
{ {
"ImportPath": "github.com/Azure/go-autorest/autorest/azure", "ImportPath": "github.com/Azure/go-autorest/autorest/azure",
"Comment": "v7.0.5", "Comment": "v7.0.6",
"Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561"
}, },
{ {
"ImportPath": "github.com/Azure/go-autorest/autorest/date", "ImportPath": "github.com/Azure/go-autorest/autorest/date",
"Comment": "v7.0.5", "Comment": "v7.0.6",
"Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561"
}, },
{ {
"ImportPath": "github.com/Azure/go-autorest/autorest/to", "ImportPath": "github.com/Azure/go-autorest/autorest/to",
"Comment": "v7.0.5", "Comment": "v7.0.6",
"Rev": "4bdf29b663ebad9598d2c391b73a4b46bdedbf42" "Rev": "451ba0760a7fd73d7175e2d3d1c3911020619561"
}, },
{ {
"ImportPath": "github.com/Azure/go-ntlmssp", "ImportPath": "github.com/Azure/go-ntlmssp",

View File

@ -14,6 +14,7 @@ func LoadToken(path string) (*Token, error) {
if err != nil { if err != nil {
return nil, fmt.Errorf("failed to open file (%s) while loading token: %v", path, err) return nil, fmt.Errorf("failed to open file (%s) while loading token: %v", path, err)
} }
defer file.Close()
var token Token var token Token