Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Improve comment phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Apr 24, 2019
1 parent 27ac38b commit 9e471d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/client_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ func (f *RemoteClientFactory) ClientFor(repo image.CanonicalName, creds Credenti
}
insecure := false
for _, h := range f.InsecureHosts {
// allow the insecure hosts list to contain hosts with or without the port
if repoHost == h || repo.Domain == h {
// allow host with out without the port in the insecure hosts list
insecure = true
break
}
Expand Down

0 comments on commit 9e471d3

Please sign in to comment.