Update error format.

Signed-off-by: Sunil Kumar <suryakn27@outlook.com>
pull/10807/head^2
suryatech27-cloud 4 years ago
parent afc2b1172d
commit 33613317a6

@ -87,7 +87,7 @@ func ReadCertFromSecDir(host string) (opts Options, err error) {
if _, err := os.Stat(clientCertDir); err != nil {
if os.IsNotExist(err) {
os.MkdirAll(clientCertDir, os.ModePerm)
return opts, errors.Wrapf(err, "%v\n%v Directory created.", clientCertDir)
return opts, errors.Wrapf(err, clientCertDir, "%v\n%v Directory created.")
}
} else {

Loading…
Cancel
Save