Comment 1 for bug 1977261

Revision history for this message
Juan M. Tirado (tiradojm) wrote :

The problem appears when using the --channel selector with the query. When the selector is not used the retrieved information is correct. See https://pastebin.canonical.com/p/CBpCnRKYNp/

This could be related with the fact that charmhub returns the list of found entries in incremental order

curl -s https://api.charmhub.io/v2/charms/info/mysql-router?fields=channel-map,channel-map.revision | jq '."channel-map" |. [] | select( .channel.track == "8.0" ) |.revision.revision'