-
Notifications
You must be signed in to change notification settings - Fork 669
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
NOISSUE - Add LoRa route map validation and fix LoRa messages URL #491
Conversation
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #491 +/- ##
==========================================
+ Coverage 87.85% 87.93% +0.08%
==========================================
Files 53 53
Lines 2371 2371
==========================================
+ Hits 2083 2085 +2
+ Misses 191 189 -2
Partials 97 97
Continue to review full report at Codecov.
|
lora/redis/streams.go
Outdated
@@ -170,6 +170,9 @@ func (es eventStore) handleUpdateThing(ute updateThingEvent) error { | |||
if em.Type != protocol { | |||
return errors.New("Lora protocol not found in thing metadatada") | |||
} | |||
if em.DevEUI != "" { | |||
return errors.New("Lora device EUI not found in thing metadatada") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move these errors to var
block at the beginning of the file.
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
…smach#491) * Add route map validation and fix LoRa messages URL Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Rm private error comments Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix typo Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add runlora command in Makefile Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
…smach#491) * Add route map validation and fix LoRa messages URL Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Rm private error comments Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix typo Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add runlora command in Makefile Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add route map validation and fix LoRa messages URL Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Rm private error comments Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix typo Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add runlora command in Makefile Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
No description provided.