From 0688557dde5f40a06728ac7d130fd524d6021010 Mon Sep 17 00:00:00 2001 From: Ricardo Mateus Date: Mon, 22 Mar 2021 12:28:19 +0000 Subject: [PATCH] comment code of new go version Signed-off-by: Ricardo Mateus --- go.mod | 2 +- processor/externalCommand.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 5784351..4f6e6e3 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/rjmateus/uyuni-cli -go 1.9 +go 1.11.13 diff --git a/processor/externalCommand.go b/processor/externalCommand.go index a2a6e63..05b8d5f 100644 --- a/processor/externalCommand.go +++ b/processor/externalCommand.go @@ -30,7 +30,8 @@ func (tool externalToolCmd) Execute() error { cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr - fmt.Println(cmd.String()) + // removed since it doesn't exists on go 1.11.13, version used in obs.. + //fmt.Println(cmd.String()) err := cmd.Run() if err != nil { fmt.Println(err)