Merge pull request #3928 from tobiaswaldvogel/fix_luci_app_statistics_plugin_df

luci_app_statistics: Add missing variable declaration for plugin df
This commit is contained in:
Dirk Brenken 2020-04-18 16:04:26 +02:00 committed by GitHub
commit 1f082a6ac6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,7 @@ return baseclass.extend({
}; };
var types = graph.dataTypes(host, plugin, plugin_instance); var types = graph.dataTypes(host, plugin, plugin_instance);
var p = [];
for (var i = 0; i < types.length; i++) for (var i = 0; i < types.length; i++)
if (types[i] == 'percent_bytes') if (types[i] == 'percent_bytes')