feat: override all existing scale parameters when calling ps-set-scale
This commit is contained in:
1 parent
5ad5a29a00
commit
ef262c26e8
3 files changed
+17
-12
No files matched your search
@@ -150,7 +150,7 @@ func TriggerPostCreate(appName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
return updateScalefile(appName, make(map[string]int))
|
||||
return updateScalefile(appName, false, make(map[string]int))
|
||||
}
|
||||
|
||||
// TriggerPostDelete destroys the ps properties for a given app container
|
||||
@@ -285,5 +285,5 @@ func TriggerPsCurrentScale(appName string) error {
|
||||
|
||||
// TriggerPsSetScale configures the scale parameters for a given app
|
||||
func TriggerPsSetScale(appName string, skipDeploy bool, processTuples []string) error {
|
||||
return scaleSet(appName, skipDeploy, processTuples)
|
||||
return scaleSet(appName, skipDeploy, true, processTuples)
|
||||
}
|
||||
Reference in new issue
Block a user