chore: do not add an unnecessary fmt.Sprintf()

This commit is contained in:
Jose Diaz-Gonzalez
2025-03-06 22:35:56 -05:00
parent c888ca5b58
commit 52c05558f9

View File

@@ -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
}