From f1729ce1864e5db8be3f9896c7adda7811e6fc13 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:49:56 +0100 Subject: [PATCH] fix: typo (#804) (#834) * fix: typo replaces https://github.com/ansible-collections/kubernetes.core/pull/799 * doc: add changelog fragment * Delete changelogs/fragments/804-drain-typo.yaml --------- Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com> (cherry picked from commit 219c747a24a78bd072e1f54edd6d707efab02597) Co-authored-by: Pierre Ozoux --- plugins/modules/k8s_drain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/k8s_drain.py b/plugins/modules/k8s_drain.py index 6544553b0d..4009666a70 100644 --- a/plugins/modules/k8s_drain.py +++ b/plugins/modules/k8s_drain.py @@ -106,7 +106,8 @@ kubernetes.core.k8s_drain: state: drain name: foo - force: yes + delete_options: + force: yes - name: Drain node "foo", but abort if there are pods not managed by a ReplicationController, Job, or DaemonSet, and use a grace period of 15 minutes. kubernetes.core.k8s_drain: