diff --git a/libnetwork/cluster/provider.go b/libnetwork/cluster/provider.go index e2c34dce6a..5e6b560946 100644 --- a/libnetwork/cluster/provider.go +++ b/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 } diff --git a/libnetwork/cmd/dnet/dnet.go b/libnetwork/cmd/dnet/dnet.go index 044e066317..757e9666f8 100644 --- a/libnetwork/cmd/dnet/dnet.go +++ b/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 }