mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-22 18:26:41 +00:00
Fix Codacy
This commit is contained in:
@@ -49,7 +49,7 @@ func (n *Net) filterInterfaces(interfaces []*transport.Interface) []*transport.I
|
||||
// The interfaces are discovered by an external iFaceDiscover function or by a default discoverer if the external one
|
||||
// wasn't specified.
|
||||
func (n *Net) UpdateInterfaces(iFaceDiscover IFaceDiscover) error {
|
||||
discoveredInterfaces := []*transport.Interface{}
|
||||
discoveredInterfaces := []*transport.Interface{} //nolint
|
||||
var err error
|
||||
if iFaceDiscover != nil {
|
||||
interfacesString := ""
|
||||
|
||||
Reference in New Issue
Block a user