|
|
@ -269,10 +269,8 @@ module ApplicationHelper
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def shixun_container_limit shixun
|
|
|
|
def shixun_container_limit shixun
|
|
|
|
logger.info("#########---shixun_id #{shixun.id}")
|
|
|
|
|
|
|
|
container = []
|
|
|
|
container = []
|
|
|
|
shixun.shixun_service_configs.each do |config|
|
|
|
|
shixun.shixun_service_configs.each do |config|
|
|
|
|
logger.info("#########---mirror_repository_id #{config.mirror_repository.id}")
|
|
|
|
|
|
|
|
mirror = config.mirror_repository
|
|
|
|
mirror = config.mirror_repository
|
|
|
|
if mirror.name.present?
|
|
|
|
if mirror.name.present?
|
|
|
|
container << {:image => mirror.name,
|
|
|
|
container << {:image => mirror.name,
|
|
|
|