diff --git a/pkg/metrics/sender_test.go b/pkg/metrics/sender_test.go index 7296e9adf..57e16db58 100644 --- a/pkg/metrics/sender_test.go +++ b/pkg/metrics/sender_test.go @@ -71,21 +71,21 @@ func TestSend(t *testing.T) { name: "JoinStarted", event: JoinStarted{ ClusterID: uuid.New(), - Name: "foo", + NodeName: "foo", }, }, { name: "JoinSucceeded", event: JoinSucceeded{ ClusterID: uuid.New(), - Name: "foo", + NodeName: "foo", }, }, { name: "JoinFailed", event: JoinFailed{ ClusterID: uuid.New(), - Name: "foo", + NodeName: "foo", Reason: "bar", }, },