From e4f055dc479d7f9a15c8d96fc741a3892450f86f Mon Sep 17 00:00:00 2001 From: Victor Moene Date: Wed, 15 Jan 2025 16:11:43 +0100 Subject: [PATCH] Formatted Text --- libpromises/generic_agent.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libpromises/generic_agent.c b/libpromises/generic_agent.c index a2d1639531..66ea39ab3b 100644 --- a/libpromises/generic_agent.c +++ b/libpromises/generic_agent.c @@ -1594,9 +1594,12 @@ void GenericAgentInitialize(EvalContext *ctx, GenericAgentConfig *config) GenericAgentAddEditionClasses(ctx); // May set "enterprise_edition" class const Class *enterprise_edition = EvalContextClassGet(ctx, "default", "enterprise_edition"); - if (enterprise_edition == NULL){ + if (enterprise_edition == NULL) + { EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, "cf_edition", "community", CF_DATA_TYPE_STRING, "derived-from=enterprise_edition,report"); - } else { + } + else + { EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, "cf_edition", "enterprise", CF_DATA_TYPE_STRING, "derived-from=enterprise_edition,report"); }