stop using a default command

This commit is contained in:
Adrien PONSIN 2025-04-17 11:55:19 +02:00
parent 24316804d9
commit b373dd004e
No known key found for this signature in database
GPG Key ID: 7B4D4A32C05C475E

View File

@ -37,10 +37,9 @@ func main() {
var group *errgroup.Group
group, ctx = errgroup.WithContext(ctx)
app := cli.Command{
Name: appName,
Usage: "Securely mount the Docker socket: apply fine-grained access control to Docker socket HTTP requests",
Version: buildVersion(),
DefaultCommand: command.ServeCmd,
Name: appName,
Usage: "Securely mount the Docker socket: apply fine-grained access control to Docker socket HTTP requests",
Version: buildVersion(),
Commands: []*cli.Command{
command.Serve(group),
command.Healthcheck(group),