Skip to content

Conversation

@iMax-pp
Copy link
Contributor

@iMax-pp iMax-pp commented Jul 12, 2015

intools.types.go Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change the interface by the type ? Keeping the interface dockerclient.Client will be more reliable to mock Docker for unit tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be a problem with the dockerclient dependency, but on my machine I have the following error, when using dockerclient.Client:

dockerclient.DockerClient does not implement dockerclient.Client (ContainerChanges method has pointer receiver)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done !

@iMax-pp
Copy link
Contributor Author

iMax-pp commented Jul 12, 2015

Issue opened on dockerclient repo: samalba/dockerclient#134
And pull request: samalba/dockerclient#135

fsamin added a commit that referenced this pull request Jul 13, 2015
Fix Build. Add Travis CI support
@fsamin fsamin merged commit f262771 into fsamin:master Jul 13, 2015
@iMax-pp
Copy link
Contributor Author

iMax-pp commented Jul 13, 2015

Once the issue is fixed on dockerclient repository, I will change back IntoolsEngine.DockerClient type.

@fsamin
Copy link
Owner

fsamin commented Jul 13, 2015

yep, issue #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants