mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Fix JavaScript error on nil weekly_data
Without this patch the dashboard will error-out on unfound `weekly_data` values.
This commit is contained in:
parent
3e3bc6fa13
commit
dab267a017
1 changed files with 5 additions and 1 deletions
|
|
@ -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 = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue