mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
fix: allow autoscaling config to have zero min replicas
This commit is contained in:
@@ -146,7 +146,7 @@ type ProcessAutoscaling struct {
|
||||
MaxReplicas int `yaml:"max_replicas,omitempty"`
|
||||
|
||||
// MinReplicas is the minimum number of replicas to scale to
|
||||
MinReplicas int `yaml:"min_replicas,omitempty"`
|
||||
MinReplicas int `yaml:"min_replicas"`
|
||||
|
||||
// PollingIntervalSeconds is the number of seconds between polling for new metrics
|
||||
PollingIntervalSeconds int `yaml:"polling_interval_seconds,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user