Add SonarQube #22
@@ -4,7 +4,7 @@ import "testing"
|
||||
|
||||
func TestGetCurrentIP(t *testing.T) {
|
||||
myip := getLocalIP()
|
||||
if myip == nil {
|
||||
if myip == "" {
|
||||
t.Log("could not retrieve current IP")
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user