mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
nomad: fixing tset for new api
This commit is contained in:
@@ -15,7 +15,7 @@ func testRegisterNode(t *testing.T, s *Server, n *structs.Node) {
|
||||
}
|
||||
|
||||
// Fetch the response
|
||||
var resp structs.GenericResponse
|
||||
var resp structs.NodeUpdateResponse
|
||||
if err := s.RPC("Client.Register", req, &resp); err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user