Skip to content

Commit 1f1a1f3

Browse files
xaweiandyxawei
andauthored
fix: tke cluster para valiate error message (#1361)
Co-authored-by: andyxawei <andyxawei@tencent.com>
1 parent 5b54cfe commit 1f1a1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/resource_tc_kubernetes_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,7 @@ func resourceTencentCloudTkeClusterCreate(d *schema.ResourceData, meta interface
19751975
} else {
19761976
// GR cluster
19771977
if cidrSet.ClusterCidr == "" {
1978-
return fmt.Errorf("`service_cidr` must be set when cluster `network_type` is GR")
1978+
return fmt.Errorf("`cluster_cidr` must be set when cluster `network_type` is GR")
19791979
}
19801980
items := strings.Split(cidrSet.ClusterCidr, "/")
19811981
if len(items) != 2 {

0 commit comments

Comments
 (0)