Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add repo secret key validate #514

Merged
merged 2 commits into from
Oct 29, 2018

Conversation

whDongRui
Copy link
Contributor

  • fix: Create user remove default role

  • fix: The vxnet list is incomplete

fix: Create user remove default role

fix: The vxnet list is incomplete
@whDongRui whDongRui requested a review from sunnywx October 29, 2018 04:02
@codecov
Copy link

codecov bot commented Oct 29, 2018

Codecov Report

Merging #514 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #514   +/-   ##
======================================
  Coverage    17.5%   17.5%           
======================================
  Files          91      91           
  Lines        1405    1405           
  Branches      294     294           
======================================
  Hits          246     246           
  Misses       1103    1103           
  Partials       56      56

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c02c8bf...0a20d54. Read the comment docs.

@whDongRui whDongRui mentioned this pull request Oct 29, 2018
1 task
@@ -50,6 +50,9 @@ const tsObj = {
'Runtime Selector missing value': '环境选择器缺失值',
'Invalid s3 url, should be like s3://s3.pek3a.qingstor.com/op-repo':
'无效的s3网址,应该是这样: s3://s3.pek3a.qingstor.com/op-repo',
'Verify that the information requested is incomplete!': '验证要求输入的信息不完整!',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Information to be verified is incomplete

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok.

@@ -211,6 +211,7 @@
"Search Repo": "搜索仓库",
"Trigger indexer": "触发索引器",
"Runtime Selectors": "环境选择器",
"URL": "网址",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URL, i think no need to translate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, revome this.

@@ -236,7 +236,7 @@ export default class Users extends Component {
selectName
} = userStore;

const data = userStore.users.toJSON();
const data = toJS(userStore.users);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toJS is deprecated in mobx, recommend to use toJSON

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If use toJSON, modify user name will also change table list data. Becase observable lead to data bidirectional binding.

@@ -203,7 +203,10 @@ ${this.yamlStr}`;

@action
async fetchSubnets(runtimeId) {
const result = await this.request.get(`clusters/subnets`, { runtime_id: runtimeId });
const result = await this.request.get(`clusters/subnets`, {
runtime_id: runtimeId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line can be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is add parameter limit, for fix query result more 10 datas.

@whDongRui whDongRui merged commit cd18ff9 into openpitrix:master Oct 29, 2018
@whDongRui whDongRui deleted the fix/validate_repo branch January 17, 2019 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants