mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
code review feedback
This commit is contained in:
committed by
Alex Dadgar
parent
3f561c3870
commit
6eb9911caf
@@ -396,7 +396,7 @@ func TestHTTP_NodeQuery(t *testing.T) {
|
||||
if n.ID != node.ID {
|
||||
t.Fatalf("bad: %#v", n)
|
||||
}
|
||||
if len(n.NodeEvents) != 1 {
|
||||
if len(n.NodeEvents) < 1 {
|
||||
t.Fatalf("Expected node registration event to be populated: %#v", n)
|
||||
}
|
||||
if n.NodeEvents[0].Message != "Node Registered" {
|
||||
|
||||
Reference in New Issue
Block a user