mirror of
https://github.com/containers/skopeo.git
synced 2025-07-12 22:18:38 +00:00
Add missing comment punctuation
golangci-lint linter: godot Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
70c06b4ac0
commit
e90c381a02
@ -44,7 +44,7 @@ func startOpenshiftCluster(c *check.C) *openshiftCluster {
|
|||||||
return cluster
|
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 {
|
func (cluster *openshiftCluster) clusterCmd(env map[string]string, name string, args ...string) *exec.Cmd {
|
||||||
cmd := exec.Command(name, args...)
|
cmd := exec.Command(name, args...)
|
||||||
cmd.Dir = cluster.workingDir
|
cmd.Dir = cluster.workingDir
|
||||||
|
@ -7,6 +7,6 @@ import (
|
|||||||
"os/exec"
|
"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) {
|
func cmdLifecycleToParentIfPossible(c *exec.Cmd) {
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
func consumeAndLogOutputs(c *check.C, id string, cmd *exec.Cmd) {
|
||||||
stdout, err := cmd.StdoutPipe()
|
stdout, err := cmd.StdoutPipe()
|
||||||
consumeAndLogOutputStream(c, id+" stdout", stdout, err)
|
consumeAndLogOutputStream(c, id+" stdout", stdout, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user