mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #1112: removed unneeded logs
This commit is contained in:
parent
29f845d0e5
commit
544b8aa52c
@ -338,9 +338,6 @@ module OZones
|
||||
|
||||
return if rsrc[:ACLS].nil?
|
||||
|
||||
OzonesServer::logger.debug {
|
||||
"Deleting VDC ACL rules: #{rsrc[:ACLS][first..-1]}" }
|
||||
|
||||
rsrc[:ACLS][first..-1].each { |acl_id|
|
||||
OpenNebula::Acl.new_with_id(acl_id, @client).delete
|
||||
}
|
||||
|
@ -192,13 +192,13 @@ class OzonesServer < CloudServer
|
||||
vdc_data[:CLUSTER_ID] = vdc.vdc.CLUSTER_ID
|
||||
vdc_data[:ID] = vdc.vdc.ID
|
||||
|
||||
force = vdc_data.delete(:FORCE)
|
||||
force = vdc_data.delete(:FORCE)
|
||||
|
||||
if (!force or force.upcase!="YES") and !host_unique?(vdc.zone, vdc_data)
|
||||
return [403, OZones::Error.new("Error: Couldn't update vdc. " \
|
||||
"Hosts are not unique, use force to override").to_json]
|
||||
end
|
||||
logger.debug {"----> #{vdc_data}"}
|
||||
|
||||
rc = vdc.update(vdc_data[:RESOURCES])
|
||||
|
||||
if !OpenNebula.is_error?(rc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user