Skip to content

Commit

Permalink
Formatted Text
Browse files Browse the repository at this point in the history
  • Loading branch information
victormlg committed Jan 15, 2025
1 parent d423218 commit e4f055d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libpromises/generic_agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit e4f055d

Please sign in to comment.