Fiona Ebner <f.eb...@proxmox.com> writes: > In preparation to turn BlockJobInfo into a union with @type as the > discriminator. That requires it to be an enum. > > No functional change is intended. > > Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> > Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru>
Replacing str by enum makes sense whether we need enum for a union or not. Reviewed-by: Markus Armbruster <arm...@redhat.com>