From e7071f3672bf950c6df9019fecbdaf9e08b76db6 Mon Sep 17 00:00:00 2001 From: Vlad Gorodetsky Date: Wed, 8 Sep 2021 12:53:05 +0300 Subject: [PATCH] Fix go fmt --- broker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/broker.go b/broker.go index 32c61d67a..d30840b1e 100644 --- a/broker.go +++ b/broker.go @@ -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 {