fix: handle new local server is listing

This commit is contained in:
2021-10-02 22:40:08 +02:00
parent 2f218bd99f
commit c1fd97c427

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