Hi folks, I am unable to fetch the latest version ...
# ask-the-community
b
Hi folks, I am unable to fetch the latest version of my workflow using flytectl, it returns me the oldest workflow version. This might be a bug?
flytectl get workflow -p MY_PROJECT -d DEV  WORKFLOW_NAME --latest
Flytectl version 0.6.45
y
am seeing this too actually.
should be a quick fix. would you mind filing an issue for this?
would you be up for trying to go through flytectl code? i’m hoping it’s just an incorrect sort directive somewhere.
b
Hi @Yee. Thanks for confirming the bug. I will file a issue for this bug and go through the flytectl code.
y
🙏 thank you
b
@Yee Here is the GitHub issue for the above bug. https://github.com/flyteorg/flyte/issues/3972
y
thank you
b
Hello Flyte team, I've submitted a PR to address the issue with retrieving the latest workflow version using flytectl. I'd appreciate it if someone could take a look. Here's the link: https://github.com/flyteorg/flytectl/pull/418. Thank you!
s
Please post this message in the #contribute channel so that we don't miss reviewing and merging the PR.