mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Clean TODOs that do not apply anymore
This commit is contained in:
1 parent
c6e896fd56
commit
eb50a24848
3 files changed
-11
No files matched your search
@@ -285,7 +285,6 @@ post '/service/:id/role/:role_name/action' do
|
||||
|
||||
rc = nil
|
||||
service = service_pool.get(params[:id]) { |service|
|
||||
# TODO check service state
|
||||
roles = service.get_roles
|
||||
|
||||
role = roles[params[:role_name]]
|
||||
|
||||
@@ -308,11 +308,6 @@ protected
|
||||
vm_state = node['vm_info']['VM']['STATE']
|
||||
|
||||
if vm_state == '7' # FAILED
|
||||
|
||||
# TODO: return error message and log it into the service log
|
||||
#msg = "Role #{role.name()} : VM #{node['deploy_id']} found in FAILED state"
|
||||
#Log.error LOG_COMP, msg
|
||||
|
||||
return true
|
||||
end
|
||||
end
|
||||
@@ -349,10 +344,6 @@ protected
|
||||
(node['disposed'] == '1' || node['scale_up'] == '1') &&
|
||||
node['vm_info']['VM']['STATE'] == '7' # FAILED
|
||||
|
||||
# TODO: return error message and log it into the service log
|
||||
#msg = "Role #{role.name()} : VM #{node['deploy_id']} found in FAILED state"
|
||||
#Log.error LOG_COMP, msg
|
||||
|
||||
return true
|
||||
end
|
||||
}
|
||||
|
||||
@@ -435,7 +435,6 @@ module OpenNebula
|
||||
end
|
||||
|
||||
tmp_str = vm.user_template_str
|
||||
# TODO time & periods
|
||||
|
||||
if do_offset
|
||||
time_offset = (index / vms_per_period.to_i).floor * period.to_i
|
||||
|
||||
Reference in new issue
Block a user