From 52ac586953ec508c9d6463e7e7ba02227903c47e Mon Sep 17 00:00:00 2001 From: Santiago Sanchez Paz Date: Tue, 22 Jun 2021 14:47:58 +0200 Subject: [PATCH] Fix/example --- docs/kubernetes.core.k8s_log_module.rst | 16 ---------------- plugins/modules/k8s_log.py | 1 + 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/docs/kubernetes.core.k8s_log_module.rst b/docs/kubernetes.core.k8s_log_module.rst index 03e14e5ec0..edea0a8c31 100644 --- a/docs/kubernetes.core.k8s_log_module.rst +++ b/docs/kubernetes.core.k8s_log_module.rst @@ -144,21 +144,6 @@ Parameters
If there is more than one container, this option is required.
- - -
- since_seconds - -
- string -
- - - - -
A relative time in seconds before the current time from which to show logs.
- -
@@ -472,7 +457,6 @@ Examples kind: Deployment namespace: testing name: example - sinceSeconds: "4000" register: log # This will get the log from a single Pod managed by this DeploymentConfig diff --git a/plugins/modules/k8s_log.py b/plugins/modules/k8s_log.py index 90d1e95f07..6c86b12a8c 100644 --- a/plugins/modules/k8s_log.py +++ b/plugins/modules/k8s_log.py @@ -89,6 +89,7 @@ kind: Deployment namespace: testing name: example + since_seconds: "4000" register: log # This will get the log from a single Pod managed by this DeploymentConfig