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>
This commit is contained in:
Valentin Rothberg
2022-03-21 15:15:52 +01:00
parent 68b94338ba
commit 6c030cd573
18 changed files with 64 additions and 64 deletions

View File

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

View File

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