mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
(cherry picked from commit 8515b4ee9688c4140dade719e3117ff077796762)
This commit is contained in:
parent
897fefc756
commit
cbc7d099a6
@ -315,6 +315,12 @@ module OpenNebula
|
||||
end
|
||||
else
|
||||
IMMUTABLE_ATTRS.each do |attr|
|
||||
# Allows updating the template without
|
||||
# specifying the immutable attributes
|
||||
if template[attr].nil?
|
||||
template[attr] = @body[attr]
|
||||
end
|
||||
|
||||
next if template[attr] == @body[attr]
|
||||
|
||||
return [false, "service_template/#{attr}"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user