Skip to content

Commit

Permalink
Fixed indentation on replicationchannel.go (go lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
noctarius committed Jul 6, 2023
1 parent 5520c45 commit fc51a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/replication/replicationchannel/replicationchannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ func (rc *ReplicationChannel) StartReplicationChannel(
return nil
}

restartLSN, err := replicationConnection.StartReplication(pluginArguments)
if err != nil {
restartLSN, err := replicationConnection.StartReplication(pluginArguments)
if err != nil {
if rc.shutdownRequested.Load() {
// If we tried to start replication before the shutdown was initiated,
// we totally expect that to fail, and we can just ignore the error
Expand Down

0 comments on commit fc51a52

Please sign in to comment.