Fix datasetService to find tempest log paths

Prior to this patch, datasetService did not find the log paths that
'stackviz-export' and 'gulp data' generated. This commit adds the
prefix 'data/' to all GET calls in datasetService to ensure that the
log files are found.

Change-Id: Ie88d30a0844cea57cefed6b22265ccfd6050b3a9
This commit is contained in:
Austin Clark 2015-10-27 15:50:44 -06:00
parent b1e9f75e6d
commit b73595b3aa
1 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ function DatasetService($q, $http) {
service.raw = function(dataset) {
return $http({
cache: true,
url: dataset.raw,
url: "data/" + dataset.raw,
method: 'GET'
});
};
@ -45,7 +45,7 @@ function DatasetService($q, $http) {
service.details = function(dataset) {
return $http({
cache: true,
url: dataset.details,
url: "data/" + dataset.details,
method: 'GET'
});
};
@ -53,7 +53,7 @@ function DatasetService($q, $http) {
service.tree = function(dataset) {
return $http({
cache: true,
url: dataset.tree,
url: "data/" + dataset.tree,
method: 'GET'
});
};
@ -61,7 +61,7 @@ function DatasetService($q, $http) {
service.dstat = function(dataset) {
return $http({
cache: true,
url: dataset.dstat,
url: "data/" + dataset.dstat,
method: 'GET'
});
};