diff --git a/pkg/multicluster/utils_test.go b/pkg/multicluster/utils_test.go index 058467df2..9d551bbf9 100644 --- a/pkg/multicluster/utils_test.go +++ b/pkg/multicluster/utils_test.go @@ -39,7 +39,7 @@ func TestUpgradeExistingClusterSecret(t *testing.T) { c := fake.NewClientBuilder().WithScheme(common.Scheme).Build() secret := &v1.Secret{ ObjectMeta: v12.ObjectMeta{ - Name: "example-outdated-cluster-secret", + Name: "example-outdated-cluster-secret", Namespace: "default", Labels: map[string]string{ "cluster.core.oam.dev/cluster-credential": "tls", @@ -60,4 +60,4 @@ func TestUpgradeExistingClusterSecret(t *testing.T) { if newSecret.Labels[v1alpha1.LabelKeyClusterCredentialType] != string(v1alpha1.CredentialTypeX509Certificate) { t.Fatalf("updated secret label should has credential type x509") } -} \ No newline at end of file +}