dev_daiao
daiao 6 years ago
parent 938cc16ea0
commit a50e500281

@ -1030,7 +1030,7 @@ private
# 防止跟tpm版本库重名加了前缀secret # 防止跟tpm版本库重名加了前缀secret
repo_path = repo_namespace(current_user.login, "secret_#{@shixun.identifier}") repo_path = repo_namespace(current_user.login, "secret_#{@shixun.identifier}")
GitService.add_repository(repo_path: repo_path) GitService.add_repository(repo_path: repo_path)
ShixunSecretRepository.create!(repo_name: repo_path.split(".")[0], shixun_id: @shixun.id``) ShixunSecretRepository.create!(repo_name: repo_path.split(".")[0], shixun_id: @shixun.id)
end end
end end

Loading…
Cancel
Save