Skip to content

Commit 2e4a44e

Browse files
Update cloudmap_controller_test.go
1 parent a4ef4d0 commit 2e4a44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/cloudmap_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func TestCloudMapReconciler_Reconcile(t *testing.T) {
6868
assert.NoError(t, err)
6969
endpointSlice := endpointSliceList.Items[0]
7070
assert.Equal(t, test.SvcName, endpointSlice.Labels["multicluster.kubernetes.io/service-name"], "Endpoint slice is created")
71-
assert.Contains(t, endpointSlice.Labels, LabelEntityManagedBy, "Managed by label is added")
71+
assert.Contains(t, endpointSlice.Labels, LabelEndpointSliceManagedBy, "Managed by label is added")
7272
assert.Equal(t, int32(test.Port1), *endpointSlice.Ports[0].Port)
7373
assert.Equal(t, test.EndptIp1, endpointSlice.Endpoints[0].Addresses[0])
7474
}

0 commit comments

Comments
 (0)