cloudinit.sources.NetworkConfigSource can be refactored to an enum
Bug #1874875 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Wishlist
|
Alberto Contreras |
Bug Description
It is currently implemented as a namedtuple, because it was written when the codebase supported Python 2 (where using an enum would have introduced a new dependency). As enum is in the stdlib in all our supported Python releases, we can now use it without that constraint.
Changed in cloud-init: | |
assignee: | nobody → Alberto Contreras (aciba) |
Changed in cloud-init: | |
status: | Triaged → In Progress |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
See https:/ /github. com/canonical/ cloud-init/ pull/1413