mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Plan api
This commit is contained in:
@@ -99,6 +99,7 @@ func (s *HTTPServer) jobPlan(resp http.ResponseWriter, req *http.Request,
|
||||
if err := s.agent.RPC("Job.Plan", &args, &out); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
setIndex(resp, out.Index)
|
||||
return out, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user