Skip to content

Commit

Permalink
Fix ready state of containers (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot authored Jan 23, 2025
2 parents 19a94af + 89fecb8 commit 8d52792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/virtualkubelet/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ func handleContainersUpdate(ctx context.Context, podRemoteStatus types.PodStatus
case containerRemoteStatus.State.Running != nil:
podRunning = true
log.G(ctx).Debug("Pod " + podRemoteStatus.PodName + ": Service " + containerRemoteStatus.Name + " is running on Sidecar")
podRefInCluster.Status.ContainerStatuses[index].Ready = true
}
}
}
Expand Down

0 comments on commit 8d52792

Please sign in to comment.