mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
fix(stacks): check properly if endpoint id is defined in the stacks object EE-6118 (#10302)
This commit is contained in:
parent
2b47b84e5e
commit
dfce48cd5e
2 changed files with 12 additions and 2 deletions
|
@ -1178,6 +1178,11 @@ class KubernetesCreateApplicationController {
|
|||
|
||||
if (this.state.isEdit) {
|
||||
this.nodesLimits.excludesPods(this.application.Pods, this.formValues.CpuLimit, KubernetesResourceReservationHelper.bytesValue(this.formValues.MemoryLimit));
|
||||
|
||||
// Workaround for EE-6118
|
||||
if (this.stack && !this.stack.EndpointId) {
|
||||
this.stack.EndpointId = this.endpoint.Id;
|
||||
}
|
||||
}
|
||||
|
||||
this.oldFormValues = angular.copy(this.formValues);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue