Skip to content

Commit

Permalink
command/agent: fix ptr ref in job endpoint test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickethier committed Apr 16, 2018
1 parent caaf312 commit 88bb27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/agent/job_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ func TestHTTP_JobsParse(t *testing.T) {
}

if job.Datacenters == nil ||
*job.Datacenters[0] != expected.Datacenters[0] {
job.Datacenters[0] != expected.Datacenters[0] {
t.Fatalf("job datacenters is '%s', expected '%s'",
*job.Datacenters[0], expected.Datacenters[0])
job.Datacenters[0], expected.Datacenters[0])
}
})
}
Expand Down

0 comments on commit 88bb27a

Please sign in to comment.