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

[improve] refactor code #1901

Merged
merged 6 commits into from
May 4, 2024
Merged

[improve] refactor code #1901

merged 6 commits into from
May 4, 2024

Conversation

Ceilzcx
Copy link
Contributor

@Ceilzcx Ceilzcx commented May 1, 2024

What's changed?

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

@tomsun28 tomsun28 changed the title Improve code [improve] refactor code May 2, 2024
Comment on lines 95 to 98
if (identity == null || collectorInfo == null) {
log.error("identity or collectorInfo can not be null if collector not existed");
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

if collectorInfo can not be null, the this.manageServer.getCollectorAndJobScheduler().collectorGoOnline(identity, null); never work.

@tomsun28 tomsun28 added the good first pull request Good for newcomers label May 3, 2024
@tomsun28 tomsun28 added this to the 1.6.0 milestone May 3, 2024
# Conflicts:
#	manager/src/main/java/org/apache/hertzbeat/manager/scheduler/CollectorJobScheduler.java
Copy link
Contributor

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

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

LGTM

@tomsun28 tomsun28 merged commit 388d616 into apache:master May 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants