From 089e1c1c5b74dd794c4cb6db86240e175000edc0 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 19 Jan 2017 16:55:51 +0100 Subject: [PATCH] Minor GoDoc fixup in integration-cli Signed-off-by: Sebastiaan van Stijn --- integration-cli/daemon/daemon.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integration-cli/daemon/daemon.go b/integration-cli/daemon/daemon.go index eee6f0ed70..833cf7052e 100644 --- a/integration-cli/daemon/daemon.go +++ b/integration-cli/daemon/daemon.go @@ -583,14 +583,15 @@ func (d *Daemon) GetBaseDeviceSize(c *check.C) int64 { return basesizeBytes } -// Cmd will execute a docker CLI command against this Daemon. +// Cmd executes a docker CLI command against this daemon. // Example: d.Cmd("version") will run docker -H unix://path/to/unix.sock version func (d *Daemon) Cmd(args ...string) (string, error) { b, err := d.Command(args...).CombinedOutput() return string(b), err } -// Command will create a docker CLI command against this Daeomn. +// Command creates a docker CLI command against this daemon, to be executed later. +// Example: d.Command("version") creates a command to run "docker -H unix://path/to/unix.sock version" func (d *Daemon) Command(args ...string) *exec.Cmd { return exec.Command(d.dockerBinary, d.PrependHostArg(args)...) }