diff options
author | Yoann QUERET <yoann@queret.net> | 2015-10-06 14:24:15 +0200 |
---|---|---|
committer | Yoann QUERET <yoann@queret.net> | 2015-10-06 14:24:15 +0200 |
commit | be5fe4a13194493c2611b0ca96fdf4b4b348c1ea (patch) | |
tree | 158d0ab99bf7c7619a7c3336720d43a305465523 /doc | |
parent | 8db3050d45d3f1008b9011d3cac7d371b53b3a85 (diff) | |
download | dabmux-be5fe4a13194493c2611b0ca96fdf4b4b348c1ea.tar.gz dabmux-be5fe4a13194493c2611b0ca96fdf4b4b348c1ea.tar.bz2 dabmux-be5fe4a13194493c2611b0ca96fdf4b4b348c1ea.zip |
Replace - to _ in sub name to be compatible with munin script.
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/stats_dabmux_multi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stats_dabmux_multi.py b/doc/stats_dabmux_multi.py index a2587a4..8e58c00 100755 --- a/doc/stats_dabmux_multi.py +++ b/doc/stats_dabmux_multi.py @@ -123,7 +123,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config": munin_config = config_top for conf in config['config']: - munin_config += config_template.format(ident=conf) + munin_config += config_template.format(ident=conf.replace('-', '_')) print(munin_config) else: |