Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 PVE/API2/Cluster/Jobs.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/PVE/API2/Cluster/Jobs.pm b/PVE/API2/Cluster/Jobs.pm
index 8166333dc..9a59d7f31 100644
--- a/PVE/API2/Cluster/Jobs.pm
+++ b/PVE/API2/Cluster/Jobs.pm
@@ -5,9 +5,15 @@ use warnings;
 
 use PVE::RESTHandler;
 use PVE::CalendarEvent;
+use PVE::API2::AccessControl::RealmSync;
 
 use base qw(PVE::RESTHandler);
 
+__PACKAGE__->register_method ({
+    subclass => "PVE::API2::AccessControl::RealmSync",
+    path => 'realm-sync',
+});
+
 __PACKAGE__->register_method({
     name => 'index',
     path => '',
@@ -35,6 +41,7 @@ __PACKAGE__->register_method({
     code => sub {
        return [
           { subdir => 'schedule-analyze' },
+          { subdir => 'realm-sync' },
        ];
     }});
 
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to