diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-21 15:15:52 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-22 13:04:35 +0100 |
commit | 6c030cd5737a6257e9b7ee2db232a24ccef294de (patch) | |
tree | 055ee9cc94c7ceef98b73cd4d4d9aadba345c83e /utils | |
parent | 68b94338bac2f3a4ee18f959cc2b214bb22d7fcf (diff) | |
download | podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.tar.gz podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.tar.bz2 podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.zip |
fix a number of `godot` issues
Still an unknown number remains but I am running out of patience.
Adding dots is not the best use of my time.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ports.go | 2 | ||||
-rw-r--r-- | utils/utils.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/ports.go b/utils/ports.go index 0a4f67dcc..57a6f8275 100644 --- a/utils/ports.go +++ b/utils/ports.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" ) -// Find a random, open port on the host +// Find a random, open port on the host. func GetRandomPort() (int, error) { l, err := net.Listen("tcp", ":0") if err != nil { diff --git a/utils/utils.go b/utils/utils.go index 22f0cb12f..d0e3dbb46 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -21,7 +21,7 @@ import ( ) // ExecCmd executes a command with args and returns its output as a string along -// with an error, if any +// with an error, if any. func ExecCmd(name string, args ...string) (string, error) { cmd := exec.Command(name, args...) var stdout bytes.Buffer |