daiao 5 years ago
parent c889fac49d
commit e631866b00

@ -475,7 +475,7 @@ class ShixunsController < ApplicationController
end
# 超级管理员和运营人员才能保存 中间层服务器pod信息的配置
#
logger.info("-------###{@shixun.shixun_service_configs.map(&:mirror_repository_id).sort}}")
logger.info("-------#shixun_service_configs:##{@shixun.shixun_service_configs.map(&:mirror_repository_id).sort}}")
logger.info("-------###{params[:shixun_service_configs].map(&:mirror_repository_id).sort}")
if current_user.admin? || current_user.business?
@ -485,7 +485,7 @@ class ShixunsController < ApplicationController
# 不保存没有镜像的配置
@shixun.shixun_service_configs.create!(config) if name.present?
end
#end
end
# 添加第二仓库
if params[:is_secret_repository]
add_secret_repository

Loading…
Cancel
Save