From f11bbf31dee627b168d17e95ce0111e6d02c3886 Mon Sep 17 00:00:00 2001 From: Armstrong Goes Date: Wed, 29 Apr 2020 18:06:11 -0300 Subject: [PATCH] Fixed pep8 --- visualizer/utils/datasources/datasource_influx.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/visualizer/utils/datasources/datasource_influx.py b/visualizer/utils/datasources/datasource_influx.py index 5a1b095..80aa837 100644 --- a/visualizer/utils/datasources/datasource_influx.py +++ b/visualizer/utils/datasources/datasource_influx.py @@ -30,7 +30,8 @@ VERTICAL_TEMPLATE_PATH = \ './visualizer/utils/templates/dashboard-job-influxdb-vertical.template' K8S_COST_TEMPLATE_PATH = \ - './visualizer/utils/templates/dashboard-job-influxdb-kubejobs-cost.template' + './visualizer/utils/templates/' \ + 'dashboard-job-influxdb-kubejobs-cost.template' LOG_FILE = "influx-ds.log" LOG_NAME = "influx-ds" @@ -49,7 +50,7 @@ def __init__(self, monitor_plugin, database_data, app_id): self.database_name = database_data['name'] if(monitor_plugin == 'kubejobs'): self.dashboard_path = K8S_TEMPLATE_PATH - + elif(monitor_plugin == 'kubejobs_cost'): self.dashboard_path = K8S_COST_TEMPLATE_PATH