File tree Expand file tree Collapse file tree
builtin/providers/postgresql Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ func pqQuoteLiteral(in string) string {
1818func validateConnLimit (v interface {}, key string ) (warnings []string , errors []error ) {
1919 value := v .(int )
2020 if value < - 1 {
21- errors = append (errors , fmt .Errorf ("%d can not be less than -1" , key ))
21+ errors = append (errors , fmt .Errorf ("%s can not be less than -1" , key ))
2222 }
2323 return
2424}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ func Provider() terraform.ResourceProvider {
8080func validateConnTimeout (v interface {}, key string ) (warnings []string , errors []error ) {
8181 value := v .(int )
8282 if value < 0 {
83- errors = append (errors , fmt .Errorf ("%d can not be less than 0" , key ))
83+ errors = append (errors , fmt .Errorf ("%s can not be less than 0" , key ))
8484 }
8585 return
8686}
You can’t perform that action at this time.
0 commit comments