From e4a628134d6656ab5e4e1eba9a98015be8b06a31 Mon Sep 17 00:00:00 2001 From: Ivan Ilves Date: Fri, 13 Oct 2017 11:30:32 +0200 Subject: [PATCH] Fix the most stupid bug possible! --- app/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app.go b/app/app.go index fa792af..bff5dd7 100644 --- a/app/app.go +++ b/app/app.go @@ -63,10 +63,10 @@ func (o *Options) postprocess() error { // GetWebSchema gets web schema we will use to talk to Docker registry (HTTP||HTTPS) func (o *Options) GetWebSchema() string { if o.InsecureRegistry { - return "http" + return "http://" } - return "https" + return "https://" } // SeparateFilterAndRepo separates repository name from optional regex filter