Mercurial > prosody-modules
changeset 3129:2ffc268ba2fa
mod_munin: Don’t use host when it is nil.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 21 Jun 2018 22:38:56 +0200 (2018-06-21) |
parents | a34e7bd87b39 |
children | c47cd8dbd310 |
files | mod_munin/mod_munin.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_munin/mod_munin.lua Thu Jun 21 22:15:15 2018 +0200 +++ b/mod_munin/mod_munin.lua Thu Jun 21 22:38:56 2018 +0200 @@ -104,7 +104,7 @@ if host then meta:set(key, "", "graph_title", s_format("%s %s on %s", sect, typ, host)); else - meta:set(key, "", "graph_title", s_format("Global %s %s", sect, typ, host)); + meta:set(key, "", "graph_title", s_format("Global %s %s", sect, typ)); end meta:set(key, "", "graph_vlabel", this and this.units or typ); meta:set(key, "", "graph_category", sect);