Skip to content

Commit

Permalink
Update flyteplugins/go/tasks/logs/logging_utils.go
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Graetz, Ph.D. <[email protected]>
  • Loading branch information
fg91 committed Jun 14, 2024
1 parent fe3753d commit 3d47b1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flyteplugins/go/tasks/logs/logging_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ func GetLogsForContainerInPod(ctx context.Context, logPlugin tasklog.Plugin, tas
containerID := v1.ContainerStatus{}.ContainerID
if uint32(len(pod.Status.ContainerStatuses)) <= index {
logger.Errorf(ctx, "containerStatus IndexOutOfBound, requested [%d], but total containerStatuses [%d] in pod phase [%v]", index, len(pod.Status.ContainerStatuses), pod.Status.Phase)
// return nil, nil
} else {
containerID = pod.Status.ContainerStatuses[index].ContainerID
}
Expand Down

0 comments on commit 3d47b1d

Please sign in to comment.