1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

fix(kube-stacks): change wordings [EE-6670] (#11334)

This commit is contained in:
Prabhat Khera 2024-03-08 12:15:31 +13:00 committed by GitHub
parent a570073d12
commit c35473f308
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -22,7 +22,9 @@ class KubernetesDeploymentConverter {
const res = new KubernetesDeployment();
res.Namespace = formValues.ResourcePool.Namespace.Name;
res.Name = formValues.Name;
res.StackName = formValues.StackName ? formValues.StackName : formValues.Name;
if (formValues.StackName) {
res.StackName = formValues.StackName;
}
res.ApplicationOwner = formValues.ApplicationOwner;
res.ApplicationName = formValues.Name;
res.ReplicaCount = formValues.ReplicaCount;