Skip to content

Commit

Permalink
clean code, miror changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hashmap-kz committed Dec 31, 2024
1 parent c433fcb commit 83e9c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/kubectl-envsubst.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ func main() {
args = append(args, "-")

// pass stream of files to stdin
cmd, err := cmd.ExecWithStdin(kubectl, streams, args...)
execCmd, err := cmd.ExecWithStdin(kubectl, streams, args...)
if err != nil {
fmt.Println(strings.TrimSpace(cmd.StderrContent))
fmt.Println(strings.TrimSpace(execCmd.StderrContent))
log.Fatal(err)
}

fmt.Println(strings.TrimSpace(cmd.StdoutContent))
fmt.Println(strings.TrimSpace(execCmd.StdoutContent))

}

0 comments on commit 83e9c0e

Please sign in to comment.