astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
236 stars 45 forks source link

Pairing: allow re-registering devices even if limit is reached #940

Closed Annopaolo closed 1 month ago

Annopaolo commented 2 months ago

The device registration limit set for an Astarte realm is meant to prevent registration of new devices when the limit is reached. However, it blocked re-registration of already existing devices. Allow to re-register existing devices without checking if registration limit has been reached. Closes #933.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 69.42%. Comparing base (35c877e) to head (e6e76bc).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-1.2 #940 +/- ## =============================================== + Coverage 67.99% 69.42% +1.43% =============================================== Files 281 263 -18 Lines 7420 7088 -332 =============================================== - Hits 5045 4921 -124 + Misses 2375 2167 -208 ```

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