add name to TODO

This commit is contained in:
jgsqware 2016-07-01 10:25:39 +02:00
parent 3921352734
commit 6da9edc759
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}

View File

@ -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())