Skip to content

Commit

Permalink
Fix go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bai committed Sep 8, 2021
1 parent d5de7be commit e7071f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1188,9 +1188,9 @@ func (b *Broker) sendAndReceiveSASLSCRAM() error {
}

func (b *Broker) sendAndReceiveSASLSCRAMv0() error {
if err := b.sendAndReceiveSASLHandshake(b.conf.Net.SASL.Mechanism, SASLHandshakeV0); err != nil {
return err
}
if err := b.sendAndReceiveSASLHandshake(b.conf.Net.SASL.Mechanism, SASLHandshakeV0); err != nil {
return err
}

scramClient := b.conf.Net.SASL.SCRAMClientGeneratorFunc()
if err := scramClient.Begin(b.conf.Net.SASL.User, b.conf.Net.SASL.Password, b.conf.Net.SASL.SCRAMAuthzID); err != nil {
Expand Down

0 comments on commit e7071f3

Please sign in to comment.