Skip to content

Commit

Permalink
Adjust WaitForDetachment to also accept networkID
Browse files Browse the repository at this point in the history
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
  • Loading branch information
mrjana committed Aug 31, 2016
1 parent 157483d commit ddcc220
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libnetwork/cluster/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion libnetwork/cmd/dnet/dnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ddcc220

Please sign in to comment.