]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools/virsh-pool: refactor smaller functions
authorKristina Hanicova <khanicov@redhat.com>
Wed, 15 Sep 2021 14:27:15 +0000 (16:27 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 16 Sep 2021 13:25:42 +0000 (15:25 +0200)
commitceb0d2b71a7df60d631a55eed7d70bd949372e84
tree583a290c146ff724f843a9867e6ce05b305bab2d
parent306a1ee685df0a0b871b795935ab6ed685d6de19
tools/virsh-pool: refactor smaller functions

I think these functions look much more readable with just simple
if conditions.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-pool.c