Skip to content

Commit c865720

Browse files
committed
logs added in revision reconciler
1 parent 488a16b commit c865720

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pkg/reconciler/revision/reconcile_resources.go

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ func (c *Reconciler) reconcileDeployment(ctx context.Context, rev *v1.Revision)
101101
for _, status := range pod.Status.ContainerStatuses {
102102
if status.Name == rev.Spec.GetContainer().Name {
103103
logger.Info("FAILED2")
104+
logger.Infof("last state termination: %v", status.LastTerminationState.Terminated)
104105
if t := status.LastTerminationState.Terminated; t != nil {
105106
logger.Info("FAILED3")
106107
logger.Infof("marking exiting with: %d/%s", t.ExitCode, t.Message)

0 commit comments

Comments
 (0)