diff --git a/plugins/scheduler-k3s/functions.go b/plugins/scheduler-k3s/functions.go index f03b9159c..b3b2ece7a 100644 --- a/plugins/scheduler-k3s/functions.go +++ b/plugins/scheduler-k3s/functions.go @@ -1436,7 +1436,7 @@ func getServerIP() (string, error) { } if len(serverIP) == 0 { - return "", fmt.Errorf(fmt.Sprintf("Unable to determine server ip address from network-interface %s", networkInterface)) + return "", fmt.Errorf("Unable to determine server ip address from network-interface %s", networkInterface) } return serverIP, nil }