Skip to content

Commit

Permalink
Fixing pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
armstrongmsg committed Apr 30, 2020
1 parent 7a9b376 commit c0446f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions visualizer/service/api/v10.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ def stop_visualization(data, app_id):
raise exceptions.BadRequestException()

plugin = data['plugin']

# TODO We need to think in a better design for this
if plugin == 'kubejobs' or plugin == 'kubejobs_cost' or plugin == 'stream_kubejobs':
if plugin == 'kubejobs'\
or plugin == 'kubejobs_cost'\
or plugin == 'stream_kubejobs':
# Call the executor by app_id and stop the visualization.
visualized_apps[app_id].stop_visualization()

Expand Down

0 comments on commit c0446f4

Please sign in to comment.