Skip to content

Commit

Permalink
Merge pull request #170 from sschneid/fix_dashboard_js_error
Browse files Browse the repository at this point in the history
Fix JavaScript error on nil `weekly_data`
  • Loading branch information
Rob Braden authored Nov 29, 2016
2 parents e7a71c1 + dab267a commit 2d6e5b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/vmpooler/public/lib/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ var date_from = new Date();

var running_data = {};
var weekly_data = {
platform_count: {},
clone_max: 0,
clone_platform_max: 0
clone_platform_max: 0,
clone_count: [],
clone_avg: [],
boot_avg: []
};
var capacity_data = {};

Expand Down

0 comments on commit 2d6e5b3

Please sign in to comment.