Style: format

This commit is contained in:
Yin Da
2021-10-08 11:00:33 +08:00
parent f4ba55b540
commit 0a8645c30c
+2 -2
View File
@@ -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")
}
}
}