diff options
-rw-r--r-- | docker/local-docker-compose.yaml | 2 | ||||
-rw-r--r-- | docker/storperf-master/rest_server.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docker/local-docker-compose.yaml b/docker/local-docker-compose.yaml index 75cf429..5520b5f 100644 --- a/docker/local-docker-compose.yaml +++ b/docker/local-docker-compose.yaml @@ -18,7 +18,7 @@ services: env_file: ${ENV_FILE} volumes: - ${CARBON_DIR}:/opt/graphite/storage/whisper - - ./storperf-master/:/home/opnfv/repos/storperf + - ./storperf-master/:/storperf storperf-reporting: container_name: "storperf-reporting" diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py index d551b57..5c42f8d 100644 --- a/docker/storperf-master/rest_server.py +++ b/docker/storperf-master/rest_server.py @@ -166,11 +166,11 @@ class Job(Resource): "paramType": "query" }, { - "name": "metrics_type", - "description": "The metrics_type of metrics to report. May be " - "metrics (default), or metadata", + "name": "type", + "description": "The type of metrics to report. May be " + "metrics (default), metadata, or status", "required": False, - "metrics_type": "string", + "type": "string", "allowMultiple": False, "paramType": "query" } |