Skip to content

Commit

Permalink
Pb-4396 Updated code to send Pod's describe output even if PodLog is …
Browse files Browse the repository at this point in the history
…being sent
  • Loading branch information
shkumari-px committed Sep 27, 2023
1 parent 53ca207 commit 00bf19a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controllers/dataexport/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00bf19a

Please sign in to comment.