Adjust WaitForDetachment to also accept networkID

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
This commit is contained in:
Jana Radhakrishnan 2016-08-31 12:22:36 -07:00
parent 157483d19d
commit ddcc220eb7
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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
}