Skip to content

Commit 0086482

Browse files
committed
Simplify change
1 parent c260031 commit 0086482

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/gateway/run.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,7 @@ func (g *Gateway) Run(ctx context.Context) error {
260260
return fmt.Errorf("loading configuration: %w", err)
261261
}
262262

263-
// Check if running in container mode (compose, k8s, etc.)
264-
// Container mode disables OAuth monitoring and authentication
263+
// When running in Container mode, disable OAuth notification monitoring and authentication
265264
inContainer := os.Getenv("DOCKER_MCP_IN_CONTAINER") == "1"
266265

267266
if g.McpOAuthDcrEnabled && !inContainer {

0 commit comments

Comments
 (0)