Skip to content

Commit

Permalink
Change process list var name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kozdincer committed Jul 9, 2014
1 parent 41780e6 commit d4ee909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/show_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def show_info():
@app.route('/node/<node_name>')
def nodelist(node_name):
node = Node(node_name)
return render_template('show_info.html', info_list = node.process_list)
return render_template('show_info.html', process_list = node.process_list)

@app.route('/process/stop/<process_name>')
def stopProcess(process_name):
Expand Down
2 changes: 1 addition & 1 deletion web/templates/show_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<th>Exit status</th>
<th>Stdout logfile</th>
<th>Stderr logfile</th>
{% for process in info_list %}
{% for process in process_list%}
<tr>
<td> {{ process.pid }} </td>
<td> {{ process.name }} </td>
Expand Down

0 comments on commit d4ee909

Please sign in to comment.