diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-31 13:46:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 13:46:40 +0200 |
commit | cbeb6ce92a194b7a1cb8de3d3a39065419ebc661 (patch) | |
tree | 989d677f4786a63200564b7ca99e95f5edaf851f /applications | |
parent | 147188f6ee7067119746ffc2a505ef8f4eb8943a (diff) | |
parent | 97424d57af1d0e02ea914012c47987541d7ee6a6 (diff) |
Merge pull request #5072 from ajmckinley/fix-statistics-hostname
luci-app-statistics: fix read of hostname
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js index 282b867c4d..6c2d5ffa46 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js @@ -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)); }; |