Skip to content

Commit

Permalink
Add missing AuthConfig call to mock
Browse files Browse the repository at this point in the history
This change keeps the mock client in sync with the recent
change to the AuthConfig from PR samalba#184

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
  • Loading branch information
Daniel Hiltgen committed Dec 8, 2015
1 parent dcacc6c commit 588e891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mockclient/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (client *MockClient) InspectImage(id string) (*dockerclient.ImageInfo, erro
}

func (client *MockClient) CreateContainer(config *dockerclient.ContainerConfig, name string, authConfig *dockerclient.AuthConfig) (string, error) {
args := client.Mock.Called(config, name)
args := client.Mock.Called(config, name, authConfig)
return args.String(0), args.Error(1)
}

Expand Down

0 comments on commit 588e891

Please sign in to comment.