cli: autocompletion for schema is wrong

Bug #1979547 reported by Alberto Contreras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Unassigned

Bug Description

The schema command was moved from the devel sub-command to the main one, but the autocompletion functionality still behaves as it would be under devel.

Steps to reproduce:

```sh
lxc launch ubuntu-daily:jammy jj
lxc shell jj

root@jj:~# cloud-init sch (Press TAB)

root@jj:~# cloud-init devel (Press twice TAB)
--help hotplug-hook net-convert schema

root@jj:~# cloud-init --version
/usr/bin/cloud-init 22.2-0ubuntu1~22.04.2

```

Tags: bitesize
James Falcon (falcojr)
Changed in cloud-init:
status: New → Triaged
importance: Undecided → Medium
James Falcon (falcojr)
tags: added: bitesize
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Fix Committed
Revision history for this message
Brett Holman (holmanb) wrote : Fixed in cloud-init version 22.3.

This bug is believed to be fixed in cloud-init in version 22.3. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.