|
|
|
@ -407,7 +407,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
service_update_params&.map do |service|
|
|
|
|
|
smr = @shixun.shixun_service_configs.find_by(mirror_repository_id: service[:mirror_repository_id])
|
|
|
|
|
logger.info("########smr: #{smr}")
|
|
|
|
|
smr.update_attributes(service) if smr.present?
|
|
|
|
|
smr.update_attributes(service)
|
|
|
|
|
end
|
|
|
|
|
# 添加第二仓库(管理员权限)
|
|
|
|
|
if params[:is_secret_repository]
|
|
|
|
|