Skip to content

Commit 6a1ea77

Browse files
authored
Merge pull request #3216 from JonasDevelops/fix-saverestore-task-snapshot
Fix saveandrestore take-snapshot put api endpoint
2 parents 3c0fbd1 + 19c8814 commit 6a1ea77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public List<SnapshotItem> takeSnapshot(@PathVariable String configNodeId) {
7474
* @return A {@link Snapshot} representing the new snapshot node.
7575
*/
7676
@SuppressWarnings("unused")
77-
@PutMapping(value = "/take-snapshot/{nodeId}", produces = JSON)
77+
@PutMapping(value = "/take-snapshot/{configNodeId}", produces = JSON)
7878
public Snapshot takeSnapshotAndSave(@PathVariable String configNodeId,
7979
@RequestParam(name = "name", required = false) String snapshotName,
8080
@RequestParam(name = "comment", required = false) String comment) {

0 commit comments

Comments
 (0)