提交 3b1dc975 编写于 作者: T Thomas Stromberg

legacy client certs: simplify logic

上级 b72eee4e
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册