bump(github.com/coreos/go-oidc): a4973d9a4225417aecf5d450a9522f00c1f7130f

This commit is contained in:
Taylor Thomas
2017-07-12 09:52:13 -07:00
parent c9f8c26209
commit 9fa27f6bf0
2 changed files with 27 additions and 22 deletions

View File

@@ -91,7 +91,12 @@ func expires(date, expires string) (time.Duration, bool, error) {
return 0, false, nil
}
te, err := time.Parse(time.RFC1123, expires)
var te time.Time
var err error
if expires == "0" {
return 0, false, nil
}
te, err = time.Parse(time.RFC1123, expires)
if err != nil {
return 0, false, err
}