edgexfoundry / go-mod-core-contracts

Owner: Core/Support WG
Apache License 2.0
27 stars 67 forks source link

fix: Allow binary reading value to be empty #941

Closed weichou1229 closed 3 weeks ago

weichou1229 commented 3 weeks ago

Since we accept the nil reading value, the binary reading value can be empty

fixes edgex-go#4986

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/go-mod-core-contracts/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

Testing Instructions

Run make test.

New Dependency Instructions (If applicable)

codecov-commenter commented 3 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 44.37%. Comparing base (bbedcee) to head (d524d8c).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #941 +/- ## ======================================= Coverage 44.37% 44.37% ======================================= Files 124 124 Lines 6895 6895 ======================================= Hits 3060 3060 Misses 3578 3578 Partials 257 257 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.