diff --git a/nomad/periodic_test.go b/nomad/periodic_test.go index 47604a17f..b9e397080 100644 --- a/nomad/periodic_test.go +++ b/nomad/periodic_test.go @@ -180,7 +180,7 @@ func TestPeriodicDispatch_Add_UpdateJob(t *testing.T) { t.Fatalf("Add didn't update: %v", tracked) } - if !reflect.DeepEqual(*job, tracked[0]) { + if !reflect.DeepEqual(job, tracked[0]) { t.Fatalf("Add didn't properly update: got %v; want %v", tracked[0], job) } }