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

M #-: fix minor bug in provision (#807)

This commit is contained in:
Alejandro Huertas Herrero 2021-02-15 12:34:23 +01:00 committed by GitHub
parent 32dcc78e6a
commit 51f88414c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,7 +263,13 @@ module OneProvision
v['name'] == input['name']
end
cfg['inputs'].delete(i) if i
if i
# Respect value that comes from the user
input['value'] = i['value']
cfg['inputs'].delete(i)
end
cfg['inputs'] << input
end
end