Skip to content

Commit

Permalink
Merge pull request #3216 from JonasDevelops/fix-saverestore-task-snap…
Browse files Browse the repository at this point in the history
…shot

Fix saveandrestore take-snapshot put api endpoint
  • Loading branch information
shroffk authored Dec 18, 2024
2 parents 3c0fbd1 + 19c8814 commit 6a1ea77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public List<SnapshotItem> 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) {
Expand Down

0 comments on commit 6a1ea77

Please sign in to comment.