Skip to content

Commit

Permalink
Merge pull request #6477 from breakponchito/FISH-7841-fixing-path-for…
Browse files Browse the repository at this point in the history
…-hazelcast-config-file

FISH-7841: fixing path to localize hazelcast configuration file
  • Loading branch information
breakponchito authored Nov 13, 2023
2 parents 954fc1c + ebc101a commit ed619d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) [2016-2022] Payara Foundation and/or its affiliates. All rights reserved.
* Copyright (c) [2016-2023] Payara Foundation and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -2045,7 +2045,7 @@ private void configureHazelcast() {
}

if (alternateHZConfigFile != null) {
preBootCommands.add(new BootCommand("set", "hazelcast-runtime-configuration.hazelcast-configuration-file=" + alternateHZConfigFile.getName()));
preBootCommands.add(new BootCommand("set", "hazelcast-runtime-configuration.hazelcast-configuration-file=" + alternateHZConfigFile.getPath()));
}
preBootCommands.add(new BootCommand("set", "configs.config.server-config.hazelcast-config-specific-configuration.lite=" + liteMember));

Expand Down

0 comments on commit ed619d1

Please sign in to comment.