mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-10 15:04:55 +08:00
kvm-qemu: Fix overriding tenant
This commit is contained in:
parent
4499655d07
commit
681292e141
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ function create_snapshot {
|
||||||
function get_tenant {
|
function get_tenant {
|
||||||
local vm="${1}"
|
local vm="${1}"
|
||||||
|
|
||||||
if [ -z "${TENANT_OVERRIDE}" ]; then
|
if [ -n "${TENANT_OVERRIDE}" ]; then
|
||||||
echo "${TENANT_OVERRIDE}"
|
echo "${TENANT_OVERRIDE}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue