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