Code Review
/
kni
/
installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
73fe9bd
)
Fix declared and not used variable
71/1171/1
author
Ricardo Noriega
<rnoriega@redhat.com>
Fri, 12 Jul 2019 08:57:00 +0000
(10:57 +0200)
committer
Ricardo Noriega
<rnoriega@redhat.com>
Fri, 12 Jul 2019 08:57:00 +0000
(10:57 +0200)
Change-Id: Ic4715be4eadc13402eb6971b96f178ea5efbedda
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
pkg/utils/utils.go
patch
|
blob
|
history
diff --git
a/pkg/utils/utils.go
b/pkg/utils/utils.go
index
f08e122
..
4fa2805
100644
(file)
--- a/
pkg/utils/utils.go
+++ b/
pkg/utils/utils.go
@@
-64,7
+64,6
@@
func ApplyKustomize(kustomizeBinary string, kustomizePath string) []byte {
// utility to apply kubectl for a given output
func ApplyKubectl(kubectlBinary string, kubectlContent []byte, kubeconfigPath string) {
var out []byte
- var err string
for i := 1; i <= 10; i++ {
cmd := exec.Command(kubectlBinary, "apply", "-f", "-")