Honor `-k` everywhere
@@ -659,6 +659,7 @@ func main() {
Debug: opts.Debug,
Trace: opts.Trace,
Session: "",
+ InsecureSkipVerify: opts.API.SkipSSLValidation,
CACertificate: cacert,
}
nfo, err := c.Info()
@@ -685,6 +686,7 @@ func main() {
Debug: opts.Debug,
Trace: opts.Trace,
Session: config.Current.Session,
+ InsecureSkipVerify: config.Current.InsecureSkipVerify,
CACertificate: config.Current.CACertificate,
}
