From e90c381a02615b7d5bad9e6881a61fd362f53d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Thu, 2 Feb 2023 21:26:11 +0100 Subject: [PATCH] Add missing comment punctuation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit golangci-lint linter: godot Signed-off-by: Miloslav Trmač --- integration/openshift.go | 2 +- integration/procutils.go | 2 +- integration/utils.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/openshift.go b/integration/openshift.go index 635d010d..c822c560 100644 --- a/integration/openshift.go +++ b/integration/openshift.go @@ -44,7 +44,7 @@ func startOpenshiftCluster(c *check.C) *openshiftCluster { return cluster } -// clusterCmd creates an exec.Cmd in cluster.workingDir with current environment modified by environment +// clusterCmd creates an exec.Cmd in cluster.workingDir with current environment modified by environment. func (cluster *openshiftCluster) clusterCmd(env map[string]string, name string, args ...string) *exec.Cmd { cmd := exec.Command(name, args...) cmd.Dir = cluster.workingDir diff --git a/integration/procutils.go b/integration/procutils.go index c6a59f18..e53f94b5 100644 --- a/integration/procutils.go +++ b/integration/procutils.go @@ -7,6 +7,6 @@ import ( "os/exec" ) -// cmdLifecycleToParentIfPossible tries to exit if the parent process exits (only works on Linux) +// cmdLifecycleToParentIfPossible tries to exit if the parent process exits (only works on Linux). func cmdLifecycleToParentIfPossible(c *exec.Cmd) { } diff --git a/integration/utils.go b/integration/utils.go index b1b7f7b9..b1e049c4 100644 --- a/integration/utils.go +++ b/integration/utils.go @@ -42,7 +42,7 @@ func consumeAndLogOutputStream(c *check.C, id string, f io.ReadCloser, err error }() } -// consumeAndLogOutputs causes all output to stdout and stderr from an *exec.Cmd to be logged to c +// consumeAndLogOutputs causes all output to stdout and stderr from an *exec.Cmd to be logged to c. func consumeAndLogOutputs(c *check.C, id string, cmd *exec.Cmd) { stdout, err := cmd.StdoutPipe() consumeAndLogOutputStream(c, id+" stdout", stdout, err)