mirror of
https://github.com/distribution/distribution.git
synced 2025-07-17 17:03:25 +00:00
fix(configuration): replace string literals with constants in tests
Signed-off-by: vitshev <vitshev@tracto.ai>
This commit is contained in:
parent
96c9a85b62
commit
41a906f0c6
@ -121,7 +121,7 @@ var configStruct = Configuration{
|
|||||||
} `yaml:"letsencrypt,omitempty"`
|
} `yaml:"letsencrypt,omitempty"`
|
||||||
}{
|
}{
|
||||||
ClientCAs: []string{"/path/to/ca.pem"},
|
ClientCAs: []string{"/path/to/ca.pem"},
|
||||||
ClientAuth: "verify-client-cert-if-given",
|
ClientAuth: ClientAuthVerifyClientCertIfGiven,
|
||||||
},
|
},
|
||||||
Headers: http.Header{
|
Headers: http.Header{
|
||||||
"X-Content-Type-Options": []string{"nosniff"},
|
"X-Content-Type-Options": []string{"nosniff"},
|
||||||
|
Loading…
Reference in New Issue
Block a user