Addresses ENG-8898.
Added a condition to check if the device list udpate contains duplicates.
Details
Details
- Reviewers
varun - Commits
- rCOMM4c54b9c24d52: [identity] Forbid duplicated devices in device lists
Added unit test
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
services/identity/src/device_list.rs | ||
---|---|---|
331–332 ↗ | (On Diff #42795) | copied() is only needed to convert &&str into &str. It's cheap |