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