mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
Return SchedulerConfig instead of SchedulerConfigResponse struct (#10799)
This commit is contained in:
@@ -246,7 +246,7 @@ func (s *HTTPServer) schedulerGetConfig(resp http.ResponseWriter, req *http.Requ
|
||||
}
|
||||
setMeta(resp, &reply.QueryMeta)
|
||||
|
||||
return reply, nil
|
||||
return reply.SchedulerConfig, nil
|
||||
}
|
||||
|
||||
func (s *HTTPServer) schedulerUpdateConfig(resp http.ResponseWriter, req *http.Request) (interface{}, error) {
|
||||
|
||||
Reference in New Issue
Block a user