-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Summary
The PUT and DELETE operations for node locations are commented out in the codebase, making it impossible to modify or remove locations via the API.
Location
shock-server/location/location.go:145-181 - commented out code block
Commented Code
// if locationID != "" { // /node/{nid}/locations/{loc}
// err = n.DeleteLocation(locationID)
// ...
// }Impact
- Cannot remove a location from a node via API
- Cannot update location properties via API
- Only adding locations works (POST)
Current Workaround
Direct MongoDB updates required to modify/delete locations.
Questions
- Why were these operations disabled?
- Are there data integrity concerns that need to be addressed?
Priority
Medium - API functionality gap
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels