Skip to content

Commit

Permalink
[YUNIKORN-1735] REST API for specific node
Browse files Browse the repository at this point in the history
  • Loading branch information
steinsgateted committed May 18, 2023
1 parent 5e1ec46 commit c806890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/webservice/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ func TestGetPartitionNodes(t *testing.T) {
req = req.WithContext(context.WithValue(req.Context(), httprouter.ParamsKey, httprouter.Params{httprouter.Param{Key: "node", Value: ""}}))
assert.NilError(t, err, "Get Node for PartitionNode Handler request failed")
resp = &MockResponseWriter{}
getPartitionNodes(resp, req)
assertNodeIDExists(t, resp)
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/webservice/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var webRoutes = routes{
"Scheduler",
"GET",
"/ws/v1/partition/:partition/nodes/:node",
getNode,
getPartitionNode,
},
route{
"Scheduler",
Expand Down

0 comments on commit c806890

Please sign in to comment.