Fix ineffassign warnings

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2017-08-01 14:42:41 -07:00
parent 789330033a
commit 829845d268
5 changed files with 11 additions and 5 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
}