From 963aaf86e683fc9275ee47adde82ca8b76a1854f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= Date: Mon, 13 Jan 2020 19:44:40 +0100 Subject: [PATCH] Format with gofmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaime CaamaƱo Ruiz --- pkg/utils/sysctl/sysctl_linux.go | 2 +- pkg/utils/sysctl/sysctl_linux_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/utils/sysctl/sysctl_linux.go b/pkg/utils/sysctl/sysctl_linux.go index aaa16327..cf816290 100644 --- a/pkg/utils/sysctl/sysctl_linux.go +++ b/pkg/utils/sysctl/sysctl_linux.go @@ -58,7 +58,7 @@ func setSysctl(name, value string) (string, error) { // Normalize names by using slash as separator // Sysctl names can use dots or slashes as separator: // - if dots are used, dots and slashes are interchanged. -// - if slashes are used, slashes and dots are left intact. +// - if slashes are used, slashes and dots are left intact. // Separator in use is determined by firt ocurrence. func toNormalName(name string) string { interchange := false diff --git a/pkg/utils/sysctl/sysctl_linux_test.go b/pkg/utils/sysctl/sysctl_linux_test.go index 284fb438..ae4c5337 100644 --- a/pkg/utils/sysctl/sysctl_linux_test.go +++ b/pkg/utils/sysctl/sysctl_linux_test.go @@ -28,7 +28,7 @@ import ( ) const ( - sysctlDotKeyTemplate = "net.ipv4.conf.%s.proxy_arp" + sysctlDotKeyTemplate = "net.ipv4.conf.%s.proxy_arp" sysctlSlashKeyTemplate = "net/ipv4/conf/%s/proxy_arp" )