loop over communication sis now outside loop over namespaces.

This commit is contained in:
Erik Brakkee 2025-01-12 16:32:20 +01:00
parent ea6eb4e9ae
commit a640b726bf

View File

@ -76,7 +76,7 @@ func validate(files []string, options *Options) error {
} }
} }
} }
}
for _, communication := range config.Communications { for _, communication := range config.Communications {
if len(communication.Ports) == 0 { if len(communication.Ports) == 0 {
continue continue
@ -97,9 +97,6 @@ func validate(files []string, options *Options) error {
} }
} }
}
} }
return nil return nil
} }