1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #-: Fix oneflow tests (#207)

This commit is contained in:
Pavel Czerný 2020-09-11 14:29:11 +02:00 committed by GitHub
parent 0c02bd47df
commit 1b57b97b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,7 +422,7 @@ module OpenNebula
!role['elasticity_policies'].empty?) ||
(role['scheduled_policies'] &&
!role['scheduled_policies'].empty?)) &&
role['min_vms'].nil? || role['max_vms'].nil?
(role['min_vms'].nil? || role['max_vms'].nil?)
raise Validator::ParseException,
"Role '#{role['name']}' with " \
" 'elasticity_policies' or " \