镜像同步不需要经过中间层同步

dev_library
daiao 6 years ago
parent db1566638c
commit 33750be0a5

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

Loading…
Cancel
Save