Browse Source

Uses the HealthCheck Clone() method in local_test.go.

pull/1934/head
James Phillips 9 years ago
parent
commit
244174d2c0
  1. 3
      command/agent/local_test.go

3
command/agent/local_test.go

@ -731,8 +731,7 @@ func TestAgentAntiEntropy_Check_DeferSync(t *testing.T) {
})
// Change the output in the catalog to force it out of sync.
eCopy := new(structs.HealthCheck)
*eCopy = *check
eCopy := check.Clone()
eCopy.Output = "changed"
reg := structs.RegisterRequest{
Datacenter: agent.config.Datacenter,

Loading…
Cancel
Save