diff --git a/src/core/mcis/cluster.go b/src/core/mcis/cluster.go index ec1baf1ee..1d1d7a074 100644 --- a/src/core/mcis/cluster.go +++ b/src/core/mcis/cluster.go @@ -566,7 +566,9 @@ func CreateCluster(nsId string, u *TbClusterReq, option string) (TbClusterInfo, } spImgName := "" // Some CSPs do not require ImageName for creating a cluster - if v.ImageId != "" { + if v.ImageId == "" || v.ImageId == "default" { + spImgName = "" + } else { spImgName, err = common.GetCspResourceId(nsId, common.StrImage, v.ImageId) if spImgName == "" { log.Error().Err(err).Msg("")