Skip to content

Commit

Permalink
Merge pull request #432 from alex-smile/update_esb_apis_0720
Browse files Browse the repository at this point in the history
ESB CC 组件 transfer_host_to_resourcemodule 添加参数 bk_module_id
  • Loading branch information
MrLYC authored Jul 20, 2021
2 parents 59c2bdb + 308ef8a commit c201455
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ class TransferHostToResourcemodule(Component):
class Form(BaseComponentForm):
bk_biz_id = forms.IntegerField(label="business id", required=True)
bk_host_id = TypeCheckField(label="host id", promise_type=list, required=True)
bk_module_id = forms.IntegerField(label="module id", required=False)

def clean(self):
return self.get_cleaned_data_when_exist()

def handle(self):
client = tools.CCClient(self)
Expand Down
1 change: 1 addition & 0 deletions paas2/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Release Log
===============================
# 2.12.23
- update: esb update jobv3/bk_log confapis
- update: esb cc transfer_host_to_resourcemodule add parameter bk_module_id

# 2.12.22
- bugfix: fix esb fs_list_users xss
Expand Down

0 comments on commit c201455

Please sign in to comment.