From 798d054db1a20b7cd2f2aed2b35b9e51835dec55 Mon Sep 17 00:00:00 2001 From: Tomas Jelinek Date: Mon, 6 Dec 2021 16:06:31 +0100 Subject: [PATCH 1/3] fix enabling corosync-qdevice --- pcsd/remote.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsd/remote.rb b/pcsd/remote.rb index b569e249..e1923d6f 100644 --- a/pcsd/remote.rb +++ b/pcsd/remote.rb @@ -2002,7 +2002,7 @@ def qdevice_client_enable(param, request, auth_user) unless allowed_for_local_cluster(auth_user, Permissions::WRITE) return 403, 'Permission denied' end - if not ServiceChecker.new('corosync', enabled: true).is_enabled?('corosync') + if not ServiceChecker.new(['corosync'], enabled: true).is_enabled?('corosync') return pcsd_success('corosync is not enabled, skipping') elsif enable_service('corosync-qdevice') return pcsd_success('corosync-qdevice enabled') -- 2.31.1