Skip to content

Commit

Permalink
Merged pull request influxdata#1664 from influxdata/nc-mqtt-configs
Browse files Browse the repository at this point in the history
Fix invalid default MQTT config
  • Loading branch information
nathanielc committed Nov 8, 2017
2 parents 96a4b75 + 396566c commit ab66b19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion services/mqtt/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ab66b19

Please sign in to comment.