fix: panic when device is missing CardName or SerialNumber#261
Conversation
Signed-off-by: Anthony Casagrande <anthony.j.casagrande@intel.com>
|
@ajcasagrande , please fix on main (not minnesota since there is a work around) and create a BUG issue for it and list it here: https://wiki.edgexfoundry.org/display/FA/Minnesota#Minnesota-KnownBugs |
presatish
left a comment
There was a problem hiding this comment.
It would be helpful if examples under https://github.com/EdgeX-Camera-Management/device-usb-camera/blob/fix-discover-panic/cmd/res/devices are updated too. There is no CardName here.
lenny-goodell
left a comment
There was a problem hiding this comment.
It would be helpful if examples under https://github.com/EdgeX-Camera-Management/device-usb-camera/blob/fix-discover-panic/cmd/res/devices are updated too. There is no
CardNamehere.
Yes, and not just in the Example App, also here in this repo.
https://github.com/edgexfoundry/device-usb-camera/blob/main/cmd/res/devices/general.usb.camera.yaml.example
https://github.com/edgexfoundry/device-usb-camera/blob/main/cmd/res/devices/hp.w200.yaml.example
@ajcasagrande , please fix these as part of this PR. THX!
Signed-off-by: Anthony Casagrande <anthony.j.casagrande@intel.com>
Signed-off-by: Anthony Casagrande <anthony.j.casagrande@intel.com>
@lenny-intel After looking into the issue more I don't think |
lenny-goodell
left a comment
There was a problem hiding this comment.
Still need to update the example device files to have the work around
lenny-goodell
left a comment
There was a problem hiding this comment.
LGTM, ok with not updating the examples since the extras are optional.
See: https://github.com/orgs/edgexfoundry/discussions/129
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:describing the break)Testing Instructions
New Dependency Instructions (If applicable)