mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
replace passing parameters by context with singletons
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
9301c298ef
commit
48402585fd
47 changed files with 169 additions and 205 deletions
|
|
@ -62,7 +62,7 @@ type proxy struct {
|
|||
|
||||
// New creates a new proxy server
|
||||
func New(ctx context.Context) Proxy {
|
||||
configDir := config.Dir(ctx)
|
||||
configDir := config.Dir()
|
||||
return &proxy{
|
||||
configDir: configDir,
|
||||
streams: map[string]*streams.Stream{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue