docs(workspace): point recovery hint at /external/rotate (not the never-shipped /tokens)
Self-review of #2852: the inline comment on the IssueToken-failed branch still referenced POST /workspaces/:id/tokens, which never shipped. The recovery path that did ship in #2852 is POST /workspaces/:id/external/rotate. Update the hint so the next operator who hits this failure mode finds the right endpoint.
This commit is contained in:
parent
b375252dc8
commit
c85783fbee
@ -617,8 +617,8 @@ func (h *WorkspaceHandler) Create(c *gin.Context) {
|
||||
if tokErr != nil {
|
||||
log.Printf("External workspace %s: token issuance failed: %v", id, tokErr)
|
||||
// Non-fatal — the workspace row still exists; the
|
||||
// operator can call POST /workspaces/:id/tokens later
|
||||
// to mint one. Return a 201 with a hint instead of
|
||||
// operator can call POST /workspaces/:id/external/rotate
|
||||
// later to recover. Return a 201 with a hint instead of
|
||||
// 500'ing a partial-success write.
|
||||
} else {
|
||||
connectionToken = tok
|
||||
|
||||
Loading…
Reference in New Issue
Block a user