Repository navigation
Commit 94c24d2
authored
fix(site-explorer): skip machine ID generation for switches (dsx-ai-factory#4337)
Switches have their own `SwitchId` generation path and may not expose a
system serial number. Attempting to generate a `MachineId` for them
therefore produces misleading errors even when switch discovery
succeeds.
Skip `MachineId` generation for switches while preserving their
remaining enrichment and `SwitchId` generation.
## Related issues
Related to dsx-ai-factory#4277
## Type of Change
- [ ] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality
- [x] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)
## Breaking Changes
- [ ] **This PR contains breaking changes**
## Testing
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [x] Manual testing performed
- [ ] No testing required (docs, internal refactor, etc.)
## Additional Notes1 parent 8fea39a commit 94c24d2
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| |||
0 commit comments