Skip to content

Commit

Permalink
marklogic-community#692: move processing of conditionals up to handle…
Browse files Browse the repository at this point in the history
… them before the merge
  • Loading branch information
grtjn committed Jun 15, 2017
1 parent 4abf5c6 commit 8dfa7fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/lib/xquery/setup.xqy
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ declare function setup:rewrite-config($import-configs as element(configuration)+

declare function setup:rewrite-config($import-configs as element(configuration)+, $properties as map:map, $silent as xs:boolean?) as element(configuration)
{
let $import-configs := setup:process-conditionals($import-configs, $properties)
let $config :=
element { fn:node-name($import-configs[1]) } {
$import-configs/@*,
Expand Down Expand Up @@ -614,7 +615,7 @@ declare function setup:rewrite-config($import-configs as element(configuration)+
fn:concat("No hosts assigned to group ", $group, ", needed for app servers and forests!"))

(: all good :)
return setup:process-conditionals(setup:suppress-comments($config), $properties)
return setup:suppress-comments($config)
};


Expand Down

0 comments on commit 8dfa7fa

Please sign in to comment.