fix persist typo

Kubernetes-commit: 284d08bf7032a94b568a95d6de1e13d8c0ac5bc2
This commit is contained in:
root 2018-02-28 19:11:35 +08:00 committed by Kubernetes Publisher
parent 93fbd18835
commit baacc24498

View File

@ -279,7 +279,7 @@ func (p *oidcAuthProvider) idToken() (string, error) {
// Persist new config and if successful, update the in memory config.
if err = p.persister.Persist(newCfg); err != nil {
return "", fmt.Errorf("could not perist new tokens: %v", err)
return "", fmt.Errorf("could not persist new tokens: %v", err)
}
p.cfg = newCfg