mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-12 09:17:41 +03:00
Get ride of unneeded comments
This commit is contained in:
parent
003a47fb8a
commit
aac300b6f7
@ -505,11 +505,6 @@ class OCCIServer < CloudServer
|
|||||||
return to_occi_xml(user, 200)
|
return to_occi_xml(user, 200)
|
||||||
end
|
end
|
||||||
|
|
||||||
############################################################################
|
|
||||||
############################################################################
|
|
||||||
# BonFIRE Specific
|
|
||||||
############################################################################
|
|
||||||
############################################################################
|
|
||||||
def get_computes_types
|
def get_computes_types
|
||||||
etc_location=ONE_LOCATION ? ONE_LOCATION+"/etc" : "/etc/one"
|
etc_location=ONE_LOCATION ? ONE_LOCATION+"/etc" : "/etc/one"
|
||||||
begin
|
begin
|
||||||
|
@ -172,7 +172,7 @@ end
|
|||||||
###################################################
|
###################################################
|
||||||
|
|
||||||
get '/compute/:id' do
|
get '/compute/:id' do
|
||||||
if params[:id] == "types" # Specific BonFIRE functionality
|
if params[:id] == "types"
|
||||||
result,rc = @occi_server.get_computes_types
|
result,rc = @occi_server.get_computes_types
|
||||||
else
|
else
|
||||||
result,rc = @occi_server.get_compute(request, params)
|
result,rc = @occi_server.get_compute(request, params)
|
||||||
|
Loading…
Reference in New Issue
Block a user