diff --git a/client/client_test.go b/client/client_test.go index 407009de2..fbd49de2c 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -222,7 +222,7 @@ func TestClient_HasNodeChanged(t *testing.T) { c := testClient(t, nil) defer c.Shutdown() - node := c.Node() + node := c.config.Node attrHash, err := hashstructure.Hash(node.Attributes, nil) if err != nil { c.logger.Printf("[DEBUG] client: unable to calculate node attributes hash: %v", err)