fix: replica to 0 in current schema. Closes #221

This commit is contained in:
Manuel Vogel 2019-12-17 18:11:21 +01:00
parent e8321d7a0e
commit fe7f625ad9
No known key found for this signature in database
GPG key ID: 24E54F214569A8A5

View file

@ -703,7 +703,7 @@ func resourceDockerService() *schema.Resource {
Description: "The amount of replicas of the service",
Optional: true,
Default: 1,
ValidateFunc: validateIntegerGeqThan(1),
ValidateFunc: validateIntegerGeqThan(0),
},
},
},