mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-24 00:29:46 -05:00
allow zero replicas
This commit is contained in:
parent
20b056aec2
commit
15c89f00a2
1 changed files with 1 additions and 1 deletions
|
|
@ -700,7 +700,7 @@ func resourceDockerService() *schema.Resource {
|
|||
Description: "The amount of replicas of the service",
|
||||
Optional: true,
|
||||
Default: 1,
|
||||
ValidateFunc: validateIntegerGeqThan(1),
|
||||
ValidateFunc: validateIntegerGeqThan(0),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue