Comparison

prosodyctl @ 9709:f31ed70c993a 0.11

prosodyctl check: Add statisticsmanager settings to known global options
author Kim Alvefur <zash@zash.se>
date Mon, 17 Dec 2018 15:34:15 +0100
parent 9545:9dc7280dd8dc
child 9780:c7727c13260f
child 9856:4be2af104bf0
comparison
equal deleted inserted replaced
9703:0cfb7b3593eb 9709:f31ed70c993a
810 }); 810 });
811 local known_global_options = set.new({ 811 local known_global_options = set.new({
812 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", 812 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize",
813 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings", 813 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings",
814 "network_backend", "http_default_host", 814 "network_backend", "http_default_host",
815 "statistics_interval", "statistics", "statistics_config",
815 }); 816 });
816 local config = configmanager.getconfig(); 817 local config = configmanager.getconfig();
817 -- Check that we have any global options (caused by putting a host at the top) 818 -- Check that we have any global options (caused by putting a host at the top)
818 if it.count(it.filter("log", pairs(config["*"]))) == 0 then 819 if it.count(it.filter("log", pairs(config["*"]))) == 0 then
819 ok = false; 820 ok = false;