public static ISpectatorOverrideConfiguration LoadFrom(string host, string key, string saveTo)
        {
            if (string.IsNullOrEmpty(host) && string.IsNullOrEmpty(key))
            {
                throw new ArgumentException("A consul host or key must be provided to use a consul configuration.");
            }

            var config = new ConsulSpectatorOverrideConfiguration(host, key);

            config.Save(saveTo);

            return config;
        }
        public static ISpectatorOverrideConfiguration LoadFrom(string host, string key, string saveTo)
        {
            if (string.IsNullOrEmpty(host) && string.IsNullOrEmpty(key))
            {
                throw new ArgumentException("A consul host or key must be provided to use a consul configuration.");
            }

            var config = new ConsulSpectatorOverrideConfiguration(host, key);

            config.Save(saveTo);

            return(config);
        }