Skip to content

Word spelling modification,Comment modification,Log level modification#3180

Merged
davidzollo merged 16 commits intoapache:devfrom
muzhongjiang:dev
Jul 12, 2020
Merged

Word spelling modification,Comment modification,Log level modification#3180
davidzollo merged 16 commits intoapache:devfrom
muzhongjiang:dev

Conversation

@muzhongjiang
Copy link
Copy Markdown
Contributor

1、Word spelling modification “receviers”
2、Comment modification
3、Log level modification

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 10, 2020

Codecov Report

Merging #3180 into dev will decrease coverage by 0.00%.
The diff coverage is 30.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #3180      +/-   ##
============================================
- Coverage     33.52%   33.51%   -0.01%     
+ Complexity     2395     2394       -1     
============================================
  Files           442      442              
  Lines         20613    20613              
  Branches       2525     2525              
============================================
- Hits           6910     6908       -2     
- Misses        13044    13046       +2     
  Partials        659      659              
Impacted Files Coverage Δ Complexity Δ
...che/dolphinscheduler/alert/runner/AlertSender.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...inscheduler/common/task/flink/FlinkParameters.java 18.75% <ø> (ø) 6.00 <0.00> (ø)
...lphinscheduler/server/worker/task/sql/SqlTask.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...e/dolphinscheduler/alert/manager/EmailManager.java 66.66% <50.00%> (ø) 2.00 <1.00> (ø)
...olphinscheduler/alert/plugin/EmailAlertPlugin.java 51.85% <83.33%> (ø) 5.00 <0.00> (ø)
...he/dolphinscheduler/api/service/LoggerService.java 82.60% <0.00%> (-8.70%) 9.00% <0.00%> (-1.00%)

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 aea702e...0d96bf4. Read the comment docs.

Comment on lines 86 to 92
if (retMaps == null) {
alertDao.updateAlert(AlertStatus.EXECUTION_FAILURE, "alert send error", alert.getId());
logger.info("alert send error : return value is null");
logger.error("alert send error : return value is null");
} else if (!Boolean.parseBoolean(String.valueOf(retMaps.get(Constants.STATUS)))) {
alertDao.updateAlert(AlertStatus.EXECUTION_FAILURE, String.valueOf(retMaps.get(Constants.MESSAGE)), alert.getId());
logger.info("alert send error : {}", retMaps.get(Constants.MESSAGE));
logger.error("alert send error : {}", retMaps.get(Constants.MESSAGE));
} else {
Copy link
Copy Markdown
Member

@CalvinKirs CalvinKirs Jul 11, 2020

Choose a reason for hiding this comment

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

Looks good to me,This log level, please trouble confirm it again. @dailidong

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Copy Markdown
Contributor

@davidzollo davidzollo left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Copy Markdown
Member

@CalvinKirs CalvinKirs left a comment

Choose a reason for hiding this comment

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

+1

@yangyichao-mango
Copy link
Copy Markdown
Contributor

+1

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

33.3% 33.3% Coverage
0.0% 0.0% Duplication

@davidzollo davidzollo merged commit c49626b into apache:dev Jul 12, 2020
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.

5 participants