# HG changeset patch # User Emmanuel Gil Peyrot # Date 1529613536 -7200 # Node ID 2ffc268ba2fabb85d304be1df6f8d596cf4c2a5a # Parent a34e7bd87b39f32f93599f1ef380997cd19f20e8 mod_munin: Don’t use host when it is nil. diff -r a34e7bd87b39 -r 2ffc268ba2fa mod_munin/mod_munin.lua --- 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);