Merge pull request #1275 from mlaventure/travis-ineffassign

Enable ineffassign in CI
This commit is contained in:
Michael Crosby
2017-08-07 09:21:53 -04:00
committed by GitHub
7 changed files with 20 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ func TestNewContainer(t *testing.T) {
if container.ID() != id {
t.Errorf("expected container id %q but received %q", id, container.ID())
}
if spec, err = container.Spec(); err != nil {
if _, err = container.Spec(); err != nil {
t.Error(err)
return
}