<#3972 [BUG] Flytectl returns the oldest workflow ...
# flyte-github
a
#3972 [BUG] Flytectl returns the oldest workflow version when using --latest flag Issue created by LeHyperion Describe the bug Description: When attempting to retrieve the latest version of a workflow using the
--latest
flag with
flytectl get workflow
, I am presented with the oldest version instead of the expected latest version. Expected behavior Expected Result: The latest version of the specified workflow should be returned. Actual Result: The oldest version of the workflow is returned. Additional context to reproduce Steps to Reproduce: 1. Run the following command:
Copy code
flytectl get workflow -p MY_PROJECT -d DEV WORKFLOW_NAME --latest
2. Observe the returned workflow version. Environment/Configuration: • Flytectl version: 0.6.45 Additional Notes: This issue could potentially impact users who rely on fetching the latest version for their operational needs. Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte