From 21e18fe7a5587931c0cb1728415a673e7b2bcd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=89AU?= Date: Mon, 2 Sep 2024 22:27:48 +0200 Subject: [PATCH] Update comment --- pkg/commands/docker.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/commands/docker.go b/pkg/commands/docker.go index 234776cd..61d16879 100644 --- a/pkg/commands/docker.go +++ b/pkg/commands/docker.go @@ -69,7 +69,8 @@ func (c *DockerCommand) NewCommandObject(obj CommandObject) CommandObject { return defaultObj } -// NewDockerCommand creates a DockerCommand struct that will be able to run docker commands. +// NewDockerCommand creates a DockerCommand struct that wraps the docker client. +// Able to run docker commands. And handles func NewDockerCommand(log *logrus.Entry, osCommand *OSCommand, tr *i18n.TranslationSet, config *config.AppConfig, errorChan chan error) (*DockerCommand, error) { dockerHost, err := determineDockerHost() if err != nil {