Rally's Elastic connector issue

Rally would index errors as _type config, this is to fix that.

Change-Id: I9a4565a816f6a8f2f8d90cbb9ff2cd29f38efe7f
This commit is contained in:
Joe Talerico 2016-06-17 09:35:50 -04:00
parent 4cfa30983f
commit 5247f6fa6c
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class Rally(WorkloadBase):
'timestamp': es_ts,
'scenario': scenario_name,
}
self.elastic.index_result(error, 'config')
self.elastic.index_result(error, 'error')
for workload in rally_data:
if not type(rally_data[workload]) is dict:
iteration = 1