Skip to content

Commit

Permalink
Merge pull request #1094 from GowthamShanmugam/1668900
Browse files Browse the repository at this point in the history
Modified brick path replace symbol for grafana dashboard reference
  • Loading branch information
shtripat authored Feb 7, 2019
2 parents 636b6d2 + 5421682 commit 6e85144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/bricks/host-bricks/host-bricks.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
var brickName = brick.brickPath.split(":")[1],
hostName = brick.brickPath.split(":")[0].replace(/\./gi, "_");

brickName = brickName.replace(/\//gi, "|");
brickName = brickName.replace(/\//gi, ":");
utils.redirectToGrafana("bricks", { clusterId: vm.clusterName, hostName: hostName, brickName: brickName, volumeName: brick.volName });
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/bricks/volume-bricks/volume-bricks.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
var brickName = brick.brickPath.split(":")[1],
hostName = brick.fqdn.replace(/\./gi, "_");

brickName = brickName.replace(/\//gi, "|");
brickName = brickName.replace(/\//gi, ":");
utils.redirectToGrafana("bricks", { clusterId: vm.clusterName, hostName: hostName, brickName: brickName, volumeName: volumeStore.getVolumeObject(vm.volumeId).name });
}

Expand Down

0 comments on commit 6e85144

Please sign in to comment.