edgexr / edge-cloud-platform

Apache License 2.0
1 stars 0 forks source link

Disallow specifying duplicating ports when creating an app. #387

Open levshvarts opened 6 days ago

levshvarts commented 6 days ago

During app creation we validate access_ports; however we don't make sure that all ports are unique - if the following string is supplied: tcp:2222,tcp:2222, it will be accepted, but when we create envoy config, this will cause the duplicate cluster creation. We need to add unique check to access port validation.