Skip to content

Commit

Permalink
Only clone websocket properties to "install"
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Jul 7, 2024
1 parent 86f181c commit 09801d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/qz/build/provision/ProvisionBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,10 @@ private void ingestStep(JSONObject jsonStep, Path relativePath) throws JSONExcep
HashMap<String, String> pairs = PropertyInvoker.parsePropertyPairs(step);
if(pairs.get(ArgValue.WEBSOCKET_SECURE_PORTS.getMatch()) != null ||
pairs.get(ArgValue.WEBSOCKET_INSECURE_PORTS.getMatch()) != null) {

// Clone to install step
jsonSteps.put(step.cloneTo(Phase.INSTALL).toJSON());
}
// Clone to install step
jsonSteps.put(step.cloneTo(Phase.INSTALL).toJSON());
}

} else {
log.error("[SKIPPED] Resources could not be saved '{}'", step);
}
Expand Down

0 comments on commit 09801d6

Please sign in to comment.