Skip to content

refactor(agent): update agentcontainers api initialization #17600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Apr 29, 2025
Prev Previous commit
Next Next commit
remove noop dccli
  • Loading branch information
mafredri committed Apr 29, 2025
commit 02d022831e1f142623ec3119ac8df57f23ac06ef
10 changes: 0 additions & 10 deletions agent/agentcontainers/devcontainercli.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,3 @@ func (l *devcontainerCLILogWriter) Write(p []byte) (n int, err error) {
}
return len(p), nil
}

// noopDevcontainerCLI is a no-op implementation of the DevcontainerCLI
// interface. It is used when devcontainers are not enabled.
type noopDevcontainerCLI struct{}

func (*noopDevcontainerCLI) Up(context.Context, string, string, ...DevcontainerCLIUpOptions) (string, error) {
return "", nil
}

var _ DevcontainerCLI = &noopDevcontainerCLI{}
Loading