forked from lei.chen/myxce
fix front end issues
This commit is contained in:
parent
177cf45af5
commit
d7afd72e5b
18 changed files with 345 additions and 61 deletions
|
|
@ -9,9 +9,9 @@ func TestHostStateStr(t *testing.T) {
|
|||
want string
|
||||
}{
|
||||
{
|
||||
name: "zero value returns UNKNOWN when no worker has reported",
|
||||
name: "zero value (no bad flags set) returns OK — C status=0 means healthy",
|
||||
state: 0,
|
||||
want: "UNKNOWN",
|
||||
want: "OK",
|
||||
},
|
||||
{
|
||||
name: "UNAVAIL flag",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue