This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge pull request '解绑流程修改' (
#9
) from trustie_server into develop
Reviewed-on:
https://git.trustie.net/jasder/forgeplus/pulls/9
tags/v3.0.0
jasder
5 years ago
parent
2abf1f0665
06b8aab455
commit
5cdfc4ba62
1 changed files
with
6 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-4
app/controllers/ci/cloud_accounts_controller.rb
+ 6
- 4
app/controllers/ci/cloud_accounts_controller.rb
View File
@@ -96,12 +96,14 @@ class Ci::CloudAccountsController < Ci::BaseController
def unbind
ActiveRecord::Base.transaction do
unbind_account!
if @repos
@repos.each do |repo|
repo.deactivate!
if current_user.ci_cloud_account.server_type == Ci::CloudAccount::SERVER_TYPE_TRUSTIE
if @repos
@repos.each do |repo|
repo.deactivate!
end
end
end
unbind_account!
render_ok
end
rescue Exception => ex
Write
Preview
Loading…
Cancel
Save