legacy client certs: simplify logic

pull/8741/head
Thomas Stromberg 2020-07-17 07:23:48 -07:00
parent b72eee4e36
commit 3b1dc975d0
1 changed files with 0 additions and 4 deletions

View File

@ -76,10 +76,8 @@ func ClientCert(name string) string {
glog.Errorf("failed copy %s -> %s: %v", legacy, new, err)
return legacy
}
return new
}
glog.Infof("unable to find a client cert, returning default: %s", new)
return new
}
@ -98,10 +96,8 @@ func ClientKey(name string) string {
glog.Errorf("failed copy %s -> %s: %v", legacy, new, err)
return legacy
}
return new
}
glog.Errorf("unable to find a client key, returning default: %s", new)
return new
}