]> git.proxmox.com Git - pmg-api.git/commitdiff
pmgcm: drop 'trigger' from 'update-fingerprints' name
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 16 Mar 2021 18:03:06 +0000 (19:03 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 16 Mar 2021 18:13:11 +0000 (19:13 +0100)
one verb is enough

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PMG/CLI/pmgcm.pm

index e37398cb69fc24a37abb69d0c29d7d2f83612b6d..4d9f05731b00a96ae573f4d52583cbf3d558f3cc 100644 (file)
@@ -307,8 +307,8 @@ __PACKAGE__->register_method({
     }});
 
 __PACKAGE__->register_method({
-    name => 'trigger_update_fp',
-    path => 'trigger-update-fingerprint',
+    name => 'update_fingerprints',
+    path => 'update-fingerprints',
     method => 'POST',
     description => "Notify master to refresh all certificate fingerprints",
     parameters => {
@@ -334,7 +334,7 @@ our $cmddef = {
     join_cmd => [ __PACKAGE__, 'join_cmd', []],
     sync => [ __PACKAGE__, 'sync', []],
     promote => [ __PACKAGE__, 'promote', []],
-    'trigger-update-fingerprint' => [ __PACKAGE__, 'trigger_update_fp'],
+    'update-fingerprints' => [ __PACKAGE__, 'update_fingerprints'],
 };
 
 1;