Skip to content

Commit fd316bb

Browse files
Michael Feromikefero
authored andcommitted
test: PHP-207 - Correcting cluster naming in CCM support bridge
1 parent c0bf432 commit fd316bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

support/ccm.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ private function internalSetup($dataCenterOneNodes, $dataCenterTwoNodes)
159159
$this->dataCenterTwoNodes = $dataCenterTwoNodes;
160160

161161
$clusters = $this->getClusters();
162-
$clusterName = $this->clusterPrefix.'_'.$this->version.'_'.$dataCenterOneNodes.'-'.$dataCenterTwoNodes;
162+
$clusterName = $this->clusterPrefix . '_'
163+
. str_replace(".", "-", $this->version) . '_'
164+
. $dataCenterOneNodes . '-' . $dataCenterTwoNodes;
163165

164166
if ($this->ssl) {
165167
$clusterName .= "_ssl";

0 commit comments

Comments
 (0)