diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-09-28 10:24:22 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-09-28 10:24:22 +0800 |
commit | 0782c4263d39bd7b44cc19e19107c7dda3a4b45e (patch) | |
tree | 01a574039a8ebac6310cddaf6f71e5413bb85815 /dashboard/dashboard/conf | |
parent | fdd68181912a81249f33903e1e1e8cb765685dbb (diff) |
no more output elastic docs to stdout/console
JIRA: FUNCTEST-499
Change-Id: I1a78f4dbdd93cc417596a7ef06c2acc3ddc57574
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'dashboard/dashboard/conf')
-rw-r--r-- | dashboard/dashboard/conf/config.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/dashboard/dashboard/conf/config.py b/dashboard/dashboard/conf/config.py index 2e0f1ca..b868999 100644 --- a/dashboard/dashboard/conf/config.py +++ b/dashboard/dashboard/conf/config.py @@ -25,7 +25,6 @@ class APIConfig: self._default_config_location = "../etc/config.ini" self.elastic_url = 'http://localhost:9200' self.elastic_creds = None - self.destination = 'elasticsearch' self.kibana_url = None self.is_js = True self.js_path = None @@ -67,7 +66,6 @@ class APIConfig: # Linking attributes to keys from file with their sections obj.elastic_url = obj._get_str_parameter("elastic", "url") obj.elastic_creds = obj._get_str_parameter("elastic", "creds") - obj.destination = obj._get_str_parameter("output", "destination") obj.kibana_url = obj._get_str_parameter("kibana", "url") obj.is_js = obj._get_bool_parameter("kibana", "js") obj.js_path = obj._get_str_parameter("kibana", "js_path") @@ -77,12 +75,10 @@ class APIConfig: def __str__(self): return "elastic_url = %s \n" \ "elastic_creds = %s \n" \ - "destination = %s \n" \ "kibana_url = %s \n" \ "is_js = %s \n" \ "js_path = %s \n" % (self.elastic_url, - self.elastic_creds, - self.destination, - self.kibana_url, - self.is_js, - self.js_path) + self.elastic_creds, + self.kibana_url, + self.is_js, + self.js_path) |