mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
Style: format
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user