Removed scheme

Signed-off-by: Juned Memon <junaid18183@gmail.com>
pull/8089/head
Juned Memon 5 years ago
parent 8cb9ab7095
commit 95e9e18ab5
No known key found for this signature in database
GPG Key ID: B7C1868E3994DA9E

@ -101,7 +101,7 @@ func (ref *Reference) validateRepo() error {
} }
// Makes sure the repo results in a parsable URL (similar to what is done // Makes sure the repo results in a parsable URL (similar to what is done
// with containerd reference parsing) // with containerd reference parsing)
_, err := url.Parse("dummy://" + ref.Repo) _, err := url.Parse("//" + ref.Repo)
return err return err
} }

Loading…
Cancel
Save