|
|
@ -351,7 +351,7 @@ class ManagementsController < ApplicationController
|
|
|
|
#uri = "#{shixun_tomcat}/bridge/docker/updateImage"
|
|
|
|
#uri = "#{shixun_tomcat}/bridge/docker/updateImage"
|
|
|
|
#res = uri_exec uri, params
|
|
|
|
#res = uri_exec uri, params
|
|
|
|
# if (res && res['code'] != 0)
|
|
|
|
# if (res && res['code'] != 0)
|
|
|
|
raise("choose_update_mirror exception")
|
|
|
|
#raise("choose_update_mirror exception")
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
if flag == 0
|
|
|
|
if flag == 0
|
|
|
|
mirror.update_attributes(:mirrorID => change_id, :status => 0)
|
|
|
|
mirror.update_attributes(:mirrorID => change_id, :status => 0)
|
|
|
|