mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-11 21:41:46 +01:00
revert endpoint change
This commit is contained in:
@@ -81,7 +81,7 @@ func (api *RestAPI) MountAPIRoutes(r *mux.Router) {
|
|||||||
// Cluster List
|
// Cluster List
|
||||||
r.HandleFunc("/clusters/", api.getClusters).Methods(http.MethodGet)
|
r.HandleFunc("/clusters/", api.getClusters).Methods(http.MethodGet)
|
||||||
// Slurm node state
|
// Slurm node state
|
||||||
r.HandleFunc("/nodestates/", api.updateNodeStates).Methods(http.MethodPost, http.MethodPut)
|
r.HandleFunc("/nodestate/", api.updateNodeStates).Methods(http.MethodPost, http.MethodPut)
|
||||||
// Job Handler
|
// Job Handler
|
||||||
if config.Keys.APISubjects == nil {
|
if config.Keys.APISubjects == nil {
|
||||||
cclog.Info("Enabling REST start/stop job API")
|
cclog.Info("Enabling REST start/stop job API")
|
||||||
|
|||||||
Reference in New Issue
Block a user