add name to TODO
This commit is contained in:
parent
3921352734
commit
6da9edc759
@ -59,7 +59,7 @@ func analyzeLayer(id string) (v1.LayerEnvelope, error) {
|
||||
return v1.LayerEnvelope{}, fmt.Errorf("reading layer analysis: %v", err)
|
||||
}
|
||||
if response.StatusCode != 200 {
|
||||
//TODO: should I show reponse body in case of error?
|
||||
//TODO(jgsqware): should I show reponse body in case of error?
|
||||
return v1.LayerEnvelope{}, fmt.Errorf("receiving http error: %d", response.StatusCode)
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ func getRepositoryClient(image reference.Named, insecure bool, scopes ...string)
|
||||
|
||||
metaHeaders := map[string][]string{}
|
||||
tlsConfig := tlsconfig.ServerDefault
|
||||
//TODO: fix TLS
|
||||
//TODO(jgsqware): fix TLS
|
||||
tlsConfig.InsecureSkipVerify = viper.GetBool("auth.insecureSkipVerify")
|
||||
|
||||
url, err := url.Parse("https://" + image.Hostname())
|
||||
|
Loading…
Reference in New Issue
Block a user