Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit901a258

Browse files
committed
add warn
1 parent2fd85f7 commit901a258

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎agent/agentcontainers/api.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ func NewAPI(logger slog.Logger, experimentalDevcontainersEnabled bool, options .
155155
}
156156
}
157157
}else {
158+
ifapi.cl!=nil||api.dccli!=nil||api.watcher!=nil {
159+
logger.Warn(ctx,"devcontainers are disabled but API is configured with devcontainer services")
160+
}
158161
api.cl=&NoopLister{}
159162
api.dccli=&noopDevcontainerCLI{}
160163
api.watcher=watcher.NewNoop()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp