diff --git a/config/codecommunicator/aviat.go b/config/codecommunicator/aviat.go index 6ea1432..3e0b7f4 100644 --- a/config/codecommunicator/aviat.go +++ b/config/codecommunicator/aviat.go @@ -20,6 +20,8 @@ func (c *aviatCommunicator) GetInterfaces(ctx context.Context, filter ...grouppr if f := valueFilter.AddException([]string{"ifType"}); f != nil { filterWithIfType = append(filterWithIfType, f) } + } else { + filterWithIfType = append(filterWithIfType, fil) } }