|
|
|
@ -357,7 +357,7 @@ class MyshixunsController < ApplicationController
|
|
|
|
|
host = Redmine::Configuration['tomcat_php']
|
|
|
|
|
begin
|
|
|
|
|
uri = "#{shixun_tomcat}/bridge/vnc/getvnc"
|
|
|
|
|
shixun = myshixun.shixun
|
|
|
|
|
shixun = @myshixun.shixun
|
|
|
|
|
params = {tpiID: @myshixun.id, :containers => "#{Base64.urlsafe_encode64(container_limit(shixun.mirror_repositories))}"}
|
|
|
|
|
res = uri_exec uri, params
|
|
|
|
|
if res && res['code'].to_i != 0
|
|
|
|
|