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

apply changes from EE (#9232)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2023-07-20 13:48:48 +12:00 committed by GitHub
parent ff1f549590
commit bb61723ba1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View file

@ -229,7 +229,11 @@ export function kubeServicesValidation(
'path-is-unique',
'Ingress path is already in use for this hostname.',
(path, context) => {
if (path === undefined || validationData === undefined) {
if (
path === undefined ||
validationData === undefined ||
!context.parent.Host
) {
return true;
}
const ingressHostAndPath = `${