Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix per server deployments filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Jul 28, 2015
1 parent deecb29 commit 6d8c68e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module HawkularMetrics {
var promises = [];
var tmpResourceList = [];
angular.forEach(aResourceList, function(res, idx) {
if (res.id.startsWith(new RegExp('\\[' + this.$routeParams.resourceId + '~/'))) {
if (res.id.startsWith(new RegExp(this.$routeParams.resourceId + '~/'))) {
tmpResourceList.push(res);
promises.push(this.HawkularMetric.AvailabilityMetricData(this.$rootScope.currentPersona.id).query({
tenantId: tenantId,
Expand Down

0 comments on commit 6d8c68e

Please sign in to comment.