Browse Source

Adjust WaitForDetachment to also accept networkID

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
Jana Radhakrishnan 8 years ago
parent
commit
ddcc220eb7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libnetwork/cluster/provider.go
  2. 1 1
      libnetwork/cmd/dnet/dnet.go

+ 1 - 1
libnetwork/cluster/provider.go

@@ -16,5 +16,5 @@ type Provider interface {
 	AttachNetwork(string, string, []string) (*network.NetworkingConfig, error)
 	DetachNetwork(string, string) error
 	UpdateAttachment(string, string, *network.NetworkingConfig) error
-	WaitForDetachment(context.Context, string, string, string) error
+	WaitForDetachment(context.Context, string, string, string, string) error
 }

+ 1 - 1
libnetwork/cmd/dnet/dnet.go

@@ -343,7 +343,7 @@ func (d *dnetConnection) UpdateAttachment(string, string, *network.NetworkingCon
 	return nil
 }
 
-func (d *dnetConnection) WaitForDetachment(context.Context, string, string, string) error {
+func (d *dnetConnection) WaitForDetachment(context.Context, string, string, string, string) error {
 	return nil
 }