Skip to content

Commit

Permalink
HAWKULAR-1037 fix MetricOfResourceUnderFeed
Browse files Browse the repository at this point in the history
Wrong URL was used so it was impossible to retrieve metrics under feed and resourcePath
  • Loading branch information
karelhala committed Feb 24, 2016
1 parent d360693 commit 3df2c28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/rest/hawkRest-inventory-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,13 @@ module hawkularRest {
});

var feedResourceMetricUrl = url + '/feeds/:feedId/resources/:resourcePath/metrics/:metricId';
factory.MetricOfResourceUnderFeed = $resource(resourceMetricUrl, null, {
factory.MetricOfResourceUnderFeed = $resource(feedResourceMetricUrl, null, {
put: {
method: 'PUT'
},
'get': {
method:'GET',
isArray:true
}
});

Expand Down

0 comments on commit 3df2c28

Please sign in to comment.