From 19c8814c684db4c5e619b0561bfd459317498533 Mon Sep 17 00:00:00 2001 From: Jonas Gorgis Date: Wed, 18 Dec 2024 15:17:54 +0100 Subject: [PATCH] Fix saveandrestore take-snapshot put api endpoint --- .../saveandrestore/web/controllers/TakeSnapshotController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java b/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java index 33ae7ffae6..60b9fb23f0 100644 --- a/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java +++ b/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java @@ -74,7 +74,7 @@ public List takeSnapshot(@PathVariable String configNodeId) { * @return A {@link Snapshot} representing the new snapshot node. */ @SuppressWarnings("unused") - @PutMapping(value = "/take-snapshot/{nodeId}", produces = JSON) + @PutMapping(value = "/take-snapshot/{configNodeId}", produces = JSON) public Snapshot takeSnapshotAndSave(@PathVariable String configNodeId, @RequestParam(name = "name", required = false) String snapshotName, @RequestParam(name = "comment", required = false) String comment) {