Kaynağa Gözat

Adjust WaitForDetachment to also accept networkID

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
Jana Radhakrishnan 8 yıl önce
ebeveyn
işleme
ddcc220eb7

+ 1 - 1
libnetwork/cluster/provider.go

@@ -16,5 +16,5 @@ type Provider interface {
 	AttachNetwork(string, string, []string) (*network.NetworkingConfig, error)
 	AttachNetwork(string, string, []string) (*network.NetworkingConfig, error)
 	DetachNetwork(string, string) error
 	DetachNetwork(string, string) error
 	UpdateAttachment(string, string, *network.NetworkingConfig) 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
 	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
 	return nil
 }
 }