Skip to content

Commit 5a0b3a8

Browse files
authored
Merge pull request #18 from bschamplin-stryker/patch-1
Removed leading slash for the kubectl command in exec.
2 parents 4e44a8f + e0f3811 commit 5a0b3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drainmanager/kubernetes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (m *DrainManagerKubernetes) exec(args ...string) bool {
7575
args = append(args, "--dry-run")
7676
}
7777

78-
return m.runComand(exec.Command("/kubectl", args...))
78+
return m.runComand(exec.Command("kubectl", args...))
7979
}
8080

8181
func (m *DrainManagerKubernetes) runComand(cmd *exec.Cmd) bool {

0 commit comments

Comments
 (0)