From 75fa1f4f0a965b85d5113a6748a39c6fa3fc6310 Mon Sep 17 00:00:00 2001 From: Marvin Preuss Date: Fri, 7 Jan 2022 20:21:00 +0100 Subject: [PATCH] happy linting --- wgquick/wg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgquick/wg.go b/wgquick/wg.go index 06f5a02..0065fb4 100644 --- a/wgquick/wg.go +++ b/wgquick/wg.go @@ -247,7 +247,7 @@ func SyncWireguardDevice(cfg *Config, link netlink.Link, log logrus.FieldLogger) // SyncLink synces link state with the config. // It does not sync Wireguard settings, just makes sure the device is up and type wireguard. -func SyncLink(cfg *Config, iface string, uspace bool, log logrus.FieldLogger) (netlink.Link, error) { +func SyncLink(cfg *Config, iface string, uspace bool, log logrus.FieldLogger) (netlink.Link, error) { //nolint:ireturn link, err := netlink.LinkByName(iface) // nolint: nestif if err != nil {