From 7fa61a63683af9530146f045224b23a50f8e7044 Mon Sep 17 00:00:00 2001 From: bixiaoyan Date: Wed, 13 Nov 2024 15:14:35 +0800 Subject: [PATCH] Fix data retrieval failure in the metas interface --- utils/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/command.go b/utils/command.go index 7945228..a6b571e 100644 --- a/utils/command.go +++ b/utils/command.go @@ -86,7 +86,7 @@ const ( CmdOrderAdd = "pcs constraint order start %s then %s" CmdListResourceStandards = "crm_resource --list-standards" CmdListOcfProviders = "crm_resource --list-ocf-providers" - CmdListOcfResourceAgent = "crm_resource --list-agents ocf: %s" + CmdListOcfResourceAgent = "crm_resource --list-agents ocf:%s" CmdListResourceAgent = "crm_resource --list-agents %s" CmdShowMetaData = "crm_resource --show-metadata %s:%s" CmdShowMetaDataWithProvider = "crm_resource --show-metadata %s:%s:%s" -- Gitee