From 00bf19a183e80101d856e0ccdd8013a932e8fd79 Mon Sep 17 00:00:00 2001 From: shkumari-px Date: Wed, 27 Sep 2023 05:32:24 +0000 Subject: [PATCH] Pb-4396 Updated code to send Pod's describe output even if PodLog is being sent --- pkg/controllers/dataexport/reconcile.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/controllers/dataexport/reconcile.go b/pkg/controllers/dataexport/reconcile.go index 2a864e946..c7e2bca09 100644 --- a/pkg/controllers/dataexport/reconcile.go +++ b/pkg/controllers/dataexport/reconcile.go @@ -524,9 +524,9 @@ func appendPodLogToStork(jobName string, namespace string) { if err != nil { logrus.Infof("Error fetching description of job-pod[%s] :%v", pod.Name, err) } - logrus.Infof("start of job-pod[%s]'s description", pod.Name) - logrus.Infof("Describe%v", podDescribe) - logrus.Infof("end of job-pod[%s]'s description", pod.Name) + logrus.Infof("start of job-pod [%s]'s description", pod.Name) + logrus.Infof("Describe %v", podDescribe) + logrus.Infof("end of job-pod [%s]'s description", pod.Name) podLog, err := core.Instance().GetPodLog(pod.Name, pod.Namespace, &corev1.PodLogOptions{TailLines: &numLogLines}) if err != nil { logrus.Infof("error fetching log of job-pod %s: %v", pod.Name, err)