diff --git a/CHANGELOG.md b/CHANGELOG.md index c550b47e0..59dbafce9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ - [#1663](https://github.com/influxdata/kapacitor/pull/1663): Fixed install/remove of kapacitor on non-systemd Debian/Ubuntu systems. Fixes packaging to not enable services on RHEL systems. Fixes issues with recusive symlinks on systemd systems. +- [#1662](https://github.com/influxdata/kapacitor/issues/1662): Fix invalid default MQTT config. ## v1.3.3 [2017-08-11] diff --git a/services/mqtt/config.go b/services/mqtt/config.go index 7109df3c6..1506acef0 100644 --- a/services/mqtt/config.go +++ b/services/mqtt/config.go @@ -111,7 +111,7 @@ func (cs Configs) Validate() error { return err } } - if defaultCount > 0 { + if defaultCount > 1 { return errors.New("more than one configuration is marked as the default") } if defaultCount == 0 && len(cs) > 1 {