mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
* Add comparation between two integers
This commit is contained in:
parent
9d44e942ad
commit
237f32a642
@ -155,7 +155,7 @@ helpers do
|
||||
|
||||
def get_requested_vm(requested_vm_id, request_env, client)
|
||||
source_vm = get_source_vm(request_env, client)
|
||||
if source_vm['ID'] != requested_vm_id
|
||||
if source_vm['ID'].to_i != requested_vm_id
|
||||
service_id = source_vm['USER_TEMPLATE/SERVICE_ID']
|
||||
check_vm_in_service(requested_vm_id, service_id, client)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user