Merge pull request #5072 from ajmckinley/fix-statistics-hostname
luci-app-statistics: fix read of hostname
This commit is contained in:
commit
cbeb6ce92a
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ return view.extend({
|
|||
o.load = function() {
|
||||
return fs.trimmed('/proc/sys/kernel/hostname').then(L.bind(function(name) {
|
||||
this.placeholder = name;
|
||||
return uci.get('collectd', 'statistics', 'hostname');
|
||||
return uci.get('luci_statistics', 'collectd', 'Hostname');
|
||||
}, this));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue