Skip to content

[cherry-pick-7221/7232] pick some api bug#7234

Merged
lenboo merged 5 commits intoapache:2.0.1-preparefrom
brave-lee:201-workergroup
Dec 7, 2021
Merged

[cherry-pick-7221/7232] pick some api bug#7234
lenboo merged 5 commits intoapache:2.0.1-preparefrom
brave-lee:201-workergroup

Conversation

@brave-lee
Copy link
Copy Markdown
Contributor

No description provided.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (2.0.1-prepare@7ecf515). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##             2.0.1-prepare    #7234   +/-   ##
================================================
  Coverage                 ?   32.19%           
  Complexity               ?     1570           
================================================
  Files                    ?      432           
  Lines                    ?    14484           
  Branches                 ?     1438           
================================================
  Hits                     ?     4663           
  Misses                   ?     9359           
  Partials                 ?      462           

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 7ecf515...72fe019. Read the comment docs.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Dec 7, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug E 5 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 73 Code Smells

15.3% 15.3% Coverage
1.5% 1.5% Duplication


int update = taskDefinitionMapper.updateById(taskDefinition);
int updateLog = taskDefinitionLogMapper.updateById(taskDefinitionLog);
if ((update == 0 && updateLog == 1) || (update == 1 && updateLog == 0)) {
Copy link
Copy Markdown
Contributor

@lenboo lenboo Dec 7, 2021

Choose a reason for hiding this comment

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

is this can be changed to (update & updateLog)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This way can not distinguish between all 0

Copy link
Copy Markdown
Contributor

@lenboo lenboo left a comment

Choose a reason for hiding this comment

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

+1

@lenboo lenboo merged commit d7eab83 into apache:2.0.1-prepare Dec 7, 2021
@brave-lee brave-lee deleted the 201-workergroup branch December 7, 2021 09:32
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.

3 participants