Skip to content

Commit 8ffb9a2

Browse files
Change dry-run argument to '--dry-run=client'
Closes #35
1 parent f54155f commit 8ffb9a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drainmanager/kubernetes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (m *DrainManagerKubernetes) execGet(resourceType string, args ...string) bo
7272

7373
func (m *DrainManagerKubernetes) exec(args ...string) bool {
7474
if m.Conf.Kubernetes.Drain.DryRun {
75-
args = append(args, "--dry-run")
75+
args = append(args, "--dry-run=client")
7676
}
7777

7878
return m.runComand(exec.Command("kubectl", args...))

0 commit comments

Comments
 (0)