mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 21:39:40 +02:00
fix(app): get utilization percentage in payload [EE-6387] (#10962)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
95474b7dc5
commit
752be47fcc
3 changed files with 4 additions and 2 deletions
|
@ -283,6 +283,7 @@ class KubernetesCreateApplicationController {
|
|||
/* #region AUTO SCALER UI MANAGEMENT */
|
||||
onAutoScaleChange(values) {
|
||||
return this.$async(async () => {
|
||||
// when enabling the auto scaler, set the default values
|
||||
if (!this.formValues.AutoScaler.isUsed && values.isUsed) {
|
||||
this.formValues.AutoScaler = {
|
||||
isUsed: values.isUsed,
|
||||
|
@ -292,6 +293,7 @@ class KubernetesCreateApplicationController {
|
|||
};
|
||||
return;
|
||||
}
|
||||
// otherwise, just update the values
|
||||
this.formValues.AutoScaler = values;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue