Skip to content

Commit

Permalink
Fix order of arguments in copilot log (#5292)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Apr 26, 2024
1 parent 9853abe commit 95e9ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteplugins/go/tasks/pluginmachinery/flytek8s/copilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func AddCoPilotToPod(ctx context.Context, cfg config.FlyteCoPilotConfig, coPilot

// TODO we should calculate input volume size based on the size of the inputs which is known ahead of time. We should store that as part of the metadata
size := CalculateStorageSize(taskExecMetadata.GetOverrides().GetResources())
logger.Infof(ctx, "Adding Input path [%s] of Size [%d] for Task [%s]", size, inPath, taskExecMetadata.GetTaskExecutionID().GetID().TaskId.Name)
logger.Infof(ctx, "Adding Input path [%s] of Size [%d] for Task [%s]", inPath, size, taskExecMetadata.GetTaskExecutionID().GetID().TaskId.Name)
inputsVolumeMount := v1.VolumeMount{
Name: cfg.InputVolumeName,
MountPath: inPath,
Expand Down

0 comments on commit 95e9ac8

Please sign in to comment.