Update comment

This commit is contained in:
Clément PÉAU 2024-09-02 22:27:48 +02:00
parent 9bdc0cc27d
commit 21e18fe7a5

View file

@ -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 {