fix: handle new local server is listing

This commit is contained in:
decentral1se 2021-10-02 22:40:08 +02:00
parent 2f218bd99f
commit c1fd97c427
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 1 deletions

View File

@ -45,7 +45,11 @@ var serverListCommand = &cli.Command{
}
}
if len(row) == 0 {
row = []string{serverName, "UNKNOWN"}
if serverName == "default" {
row = []string{serverName, "local"}
} else {
row = []string{serverName, "unknown"}
}
}
table.Append(row)
}