antrea
antrea copied to clipboard
Improve "antctl mc" usage
When I used the wrong Antrea version tag by mistake, I got the following error:
antctl mc deploy leadercluster -n antrea-multicluster --antrea-version 1.15.0
Error: json: cannot unmarshal string into Go value of type unstructured.detector
The error is because the tag should b v1.15.0 instead of 1.15.0.
It would be good IMO if the v was optional (i.e., we could support both formats). And it would also be good to have a better error message if someone provides an invalid tag or a tag that doesn't exist.
cc @luolanzone
@hjiajing
@hjiajing
Thanks for the reminder, I will check and fix this.
can I work on this issue?
@EraKin575, @hjiajing may be working on this already. If not, you are welcome to submit a PR.
Hi @antoninbas , I have not worked on this yet, maybe @EraKin575 could do it.
@EraKin575 feel free to submit a PR for this
Hi @EraKin575 are you still actively working on this issue?
Hi @luolanzone! I am working on this issue and will try to raise a PR by today.
Fixed by #6287