refactor: allow specifying clearExisting when calling ps-set-scale

This commit is contained in:
Jose Diaz-Gonzalez
2021-08-01 17:53:57 -04:00
parent 7502cbd13d
commit a7593db0c3
4 changed files with 8 additions and 5 deletions

View File

@@ -315,6 +315,6 @@ 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, true, processTuples)
func TriggerPsSetScale(appName string, skipDeploy bool, clearExisting bool, processTuples []string) error {
return scaleSet(appName, skipDeploy, clearExisting, processTuples)
}