chore: do not add an unnecessary fmt.Sprintf()
This commit is contained in:
1 file changed
+1
-1
@@ -1436,7 +1436,7 @@ func getServerIP() (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(serverIP) == 0 {
|
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
|
return serverIP, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user