chore: do not add an unnecessary fmt.Sprintf()
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user