mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
Vet errors
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/vendor/src/gopkg.in/fsnotify.v1"
|
||||
"github.com/go-fsnotify/fsnotify"
|
||||
"github.com/hashicorp/go-multierror"
|
||||
"github.com/hashicorp/nomad/command"
|
||||
"github.com/hashicorp/nomad/helper/discover"
|
||||
|
||||
@@ -106,7 +106,7 @@ func TestSpawn_Callback(t *testing.T) {
|
||||
}
|
||||
|
||||
if err := spawn.Spawn(cb); err == nil {
|
||||
t.Fatalf("Spawn(%#v) should have errored; want %v", cb, err, cbErr)
|
||||
t.Fatalf("Spawn(%#v) should have errored; want %v", cb, cbErr)
|
||||
}
|
||||
|
||||
if !called {
|
||||
|
||||
Reference in New Issue
Block a user