fix: incorrect nil check logic in tencentcloud cdn and ecdn deployment

This commit is contained in:
Fu Diwei
2025-01-08 16:05:02 +08:00
parent 0f772d55ab
commit eb3fec1ac0
4 changed files with 4 additions and 4 deletions

View File

@@ -210,7 +210,7 @@ func createDeployer(provider domain.DeployProviderType, accessConfig string, dep
return deployer, logger, err
}
case domain.DeployProviderTypeK8sSecret:
case domain.DeployProviderTypeKubernetesSecret:
{
access := &domain.AccessConfigForKubernetes{}
if err := json.Unmarshal([]byte(accessConfig), access); err != nil {