Skip to content

Commit

Permalink
Suppress linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Aug 21, 2019
1 parent 8f33445 commit 416d481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/visor/visor.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func (node *Node) Close() (err error) {
// Exec executes a shell command. It returns combined stdout and stderr output and an error.
func (node *Node) Exec(command string) ([]byte, error) {
args := strings.Split(command, " ")
cmd := exec.Command(args[0], args[1:]...)
cmd := exec.Command(args[0], args[1:]...) // nolint: gosec
return cmd.CombinedOutput()
}

Expand Down

0 comments on commit 416d481

Please sign in to comment.