Skip to content

Commit 53049f5

Browse files
committed
add
1 parent 1d2c1bd commit 53049f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/services/postgresql/resource_tc_postgresql_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ func resourceTencentCloudPostgresqlInstanceCreate(d *schema.ResourceData, meta i
442442
return outErr
443443
}
444444

445-
if dbMajorVersion == "" && specVersion == "" {
445+
if majorVersion == "" && specVersion == "" {
446446
return fmt.Errorf(`The "db_major_version" value: "%s" is invalid, Valid values are one of: "%s", The "engine_version" value: "%s" is invalid, Valid values are one of: "%s"`, dbMajorVersion, strings.Join(allowMajorVersion, `", "`), dbVersion, strings.Join(allowSpecVersion, `", "`))
447447
}
448448

0 commit comments

Comments
 (0)