diff --git a/http/client.go b/http/client.go index 14ae8e4..cd0e850 100644 --- a/http/client.go +++ b/http/client.go @@ -85,7 +85,8 @@ func ClientWithRawAbsPath(rawAbsPath bool) ClientOpt { // NewClient constructs a new HTTP-backed command executor. func NewClient(address string, opts ...ClientOpt) cmds.Executor { - if !strings.HasPrefix(address, "http://") { + // default to HTTP to keep backward-compatible behavior, but keep https:// if passed + if !strings.HasPrefix(address, "http:") && !strings.HasPrefix(address, "https:") { address = "http://" + address } diff --git a/version.json b/version.json index 7dd7b57..f49d0df 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "v0.14.0" + "version": "v0.14.1" }