Skip to content

Commit 59c6315

Browse files
committed
nit
1 parent ecef0e5 commit 59c6315

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dbos/admin_server.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ func newAdminServer(ctx *dbosContext, port int) *adminServer {
277277
}
278278
})
279279

280-
// GET /workflows/{id}/steps
281280
ctx.logger.Debug("Registering admin server endpoint", "pattern", _WORKFLOW_STEPS_PATTERN)
282281
mux.HandleFunc(_WORKFLOW_STEPS_PATTERN, func(w http.ResponseWriter, r *http.Request) {
283282
workflowID := r.PathValue("id")
@@ -296,7 +295,6 @@ func newAdminServer(ctx *dbosContext, port int) *adminServer {
296295
}
297296
})
298297

299-
// POST /workflows/{id}/cancel
300298
ctx.logger.Debug("Registering admin server endpoint", "pattern", _WORKFLOW_CANCEL_PATTERN)
301299
mux.HandleFunc(_WORKFLOW_CANCEL_PATTERN, func(w http.ResponseWriter, r *http.Request) {
302300
workflowID := r.PathValue("id")
@@ -312,7 +310,6 @@ func newAdminServer(ctx *dbosContext, port int) *adminServer {
312310
w.WriteHeader(http.StatusNoContent)
313311
})
314312

315-
// POST /workflows/{id}/resume
316313
ctx.logger.Debug("Registering admin server endpoint", "pattern", _WORKFLOW_RESUME_PATTERN)
317314
mux.HandleFunc(_WORKFLOW_RESUME_PATTERN, func(w http.ResponseWriter, r *http.Request) {
318315
workflowID := r.PathValue("id")

0 commit comments

Comments
 (0)