Content-Length: 259896 | pFad | https://github.com/coder/coder/commit/2d2c9bda98993c83be536e332d200d428b75ac78

4B fix(cli): correct logic around CODER_MCP_APP_STATUS_SLUG (#17391) · coder/coder@2d2c9bd · GitHub
Skip to content

Commit 2d2c9bd

Browse files
authored
fix(cli): correct logic around CODER_MCP_APP_STATUS_SLUG (#17391)
Past me was not smart.
1 parent a986059 commit 2d2c9bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/exp_mcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func mcpServerHandler(inv *serpent.Invocation, client *codersdk.Client, instruct
411411
} else {
412412
cliui.Warnf(inv.Stderr, "CODER_AGENT_TOKEN is not set, task reporting will not be available")
413413
}
414-
if appStatusSlug != "" {
414+
if appStatusSlug == "" {
415415
cliui.Warnf(inv.Stderr, "CODER_MCP_APP_STATUS_SLUG is not set, task reporting will not be available.")
416416
} else {
417417
clientCtx = toolsdk.WithWorkspaceAppStatusSlug(clientCtx, appStatusSlug)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/coder/coder/commit/2d2c9bda98993c83be536e332d200d428b75ac78

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy