|
|
|
@ -476,7 +476,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
# 超级管理员和运营人员才能保存 中间层服务器pod信息的配置
|
|
|
|
|
#
|
|
|
|
|
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}")
|
|
|
|
|
logger.info("-------###{params[:shixun_service_configs].map{|c| c[:mirror_repository_id]}.sort}")
|
|
|
|
|
|
|
|
|
|
if current_user.admin? || current_user.business?
|
|
|
|
|
@shixun.shixun_service_configs.destroy_all
|
|
|
|
|