Skip to content

Commit

Permalink
ipmi_sensors: Allow : in password
Browse files Browse the repository at this point in the history
closes #969
  • Loading branch information
awaw authored and sparrc committed Apr 5, 2016
1 parent 863cbe5 commit bcf1fc6
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 @@ -4,6 +4,7 @@

### Bugfixes
- [#968](https://github.com/influxdata/telegraf/issues/968): Processes plugin gets unknown state when spaces are in (command name)
- [#969](https://github.com/influxdata/telegraf/issues/968): ipmi_sensors: allow : in password. Thanks @awaw!

## v0.12.0 [2016-04-05]

Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/ipmi_sensor/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewConnection(server string) *Connection {
if inx1 > 0 {
security := server[0:inx1]
connstr = server[inx1+1 : len(server)]
up := strings.Split(security, ":")
up := strings.SplitN(security, ":", 2)
conn.Username = up[0]
conn.Password = up[1]
}
Expand Down

0 comments on commit bcf1fc6

Please sign in to comment.