mirror of
https://github.com/helm/helm.git
synced 2025-02-11 14:40:51 +00:00
fix: Bind repotest server to localhost
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
This commit is contained in:
parent
0d66425d9a
commit
c68e345663
@ -113,7 +113,7 @@ func NewOCIServer(t *testing.T, dir string) (*OCIServer, error) {
|
||||
t.Fatalf("error finding free port for test registry")
|
||||
}
|
||||
|
||||
config.HTTP.Addr = fmt.Sprintf(":%d", port)
|
||||
config.HTTP.Addr = fmt.Sprintf("127.0.0.1:%d", port)
|
||||
config.HTTP.DrainTimeout = time.Duration(10) * time.Second
|
||||
config.Storage = map[string]configuration.Parameters{"inmemory": map[string]interface{}{}}
|
||||
config.Auth = configuration.Auth{
|
||||
|
Loading…
x
Reference in New Issue
Block a user