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

[INLONG-10059][Agent] Fix the exception of installation package comparison #10062

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

justinwwhuang
Copy link
Contributor

@justinwwhuang justinwwhuang commented Apr 24, 2024

Fixes #10059

Motivation

There are an bug in the comparison of installation package md5, an exception will occur when md5 is null

Modifications

Use Objects.equals instead of equals to handle null md5

Verifying this change

(Please pick either of the following options)

  • This change is a trivial rework/code cleanup without any test coverage.

  • This change is already covered by existing tests, such as:
    (please describe tests)

  • This change added tests and can be verified as follows:

    (example:)

    • Added integration tests for end-to-end deployment with large payloads (10MB)
    • Extended integration test for recovery after broker failure

Documentation

No doc needed

…ion package md5, an exception will occur when md5 is null
@aloyszhang aloyszhang changed the title [INLONG-10059][Agent] There are an bug in the comparison of installation package md5, an exception will occur when md5 is null [INLONG-10059][Agent] Fix the exception of installation package comparison Apr 24, 2024
@dockerzhang dockerzhang merged commit 5e83645 into apache:master Apr 25, 2024
8 checks passed
@justinwwhuang justinwwhuang deleted the b10059 branch April 25, 2024 03:46
baomingyu pushed a commit that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improve][Agent] Exception of installation package comparison if md5 is null
3 participants