1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-21 18:03:38 +03:00

L #-: Remove unneeded parenthesis

(cherry picked from commit 2ee4a31f395e20927ce6d85084e23c7968038a2e)
(cherry picked from commit ccf9acafbb55d5a837d8db88549d4a11bc9fe553)
This commit is contained in:
Tino Vázquez 2023-01-24 11:37:52 +01:00
parent 49f5956b4e
commit 287fcc0887
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -1122,7 +1122,7 @@ module OpenNebula
# Min is a hard limit, if the current cardinality + adjustment does
# not reach it, the difference is added
max = [cardinality, max_cardinality.to_i].max()
max = [cardinality, max_cardinality.to_i].max
# min = [cardinality(), min_cardinality.to_i].min()
min = min_cardinality.to_i