Specifying charm revisions larger than 9223372036854775807 (Int64) crashes parser
Bug #1832109 reported by
James Hebden
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Specifying a charm revision via either the juju CLI, the API directly, or in a bundle, crashes the URI parser generating a backtrace.
The following rightly parses the revision and results in an error as this charm revision doesn't exist, and probably won't exist prior to the heat-death of the universe.
juju deploy cs:haproxy-
> ERROR cannot resolve URL "cs:haproxy-
The below however causes a backtrace, providing no feedback to the user.
juju deploy cs:haproxy-
> panic: strconv.Atoi: parsing "92233720368547
> <backtrace follows>
To post a comment you must log in.
Thanks for the bug report. Good stuff.