]> git.proxmox.com Git - qemu-server.git/commit
get_replicatable_volumes: move checks to top
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 14 Jun 2017 05:23:01 +0000 (07:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 14 Jun 2017 05:24:29 +0000 (07:24 +0200)
commita6cb40f786b25f1d85c17449fb81b0cb4fe3b21b
treea64992d91b231b0609f9c2952dfe9d77424038ca
parent3097a06bca518443ee902fd214ff3323d71aba28
get_replicatable_volumes: move checks to top

those checks do not depend on anything we do in the sub, so we can do
them at the beginning.

Also respect the $noerr flag (do not raise exceptions in that case).
PVE/QemuConfig.pm