1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 13:55:21 +02:00

fix(networks): handle windows specific system networks [EE-2594] (#6922)

This commit is contained in:
itsconquest 2022-05-17 14:45:30 +12:00 committed by GitHub
parent 0e257c200f
commit 668d526604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
const systemNetworks = ['host', 'bridge', 'none'];
const systemNetworks = ['host', 'bridge', 'ingress', 'nat', 'none'];
export function isSystemNetwork(networkName: string) {
return systemNetworks.includes(networkName);