Skip to content

Commit

Permalink
[FAB-18382] Fix staticcheck issues in gossip/privdata
Browse files Browse the repository at this point in the history
ignore staticcheck ST1019 because it is used intentionally.
break statement is ineffective and is not mean to break out of the outer loop, just delete it

FAB-18382 #done

Signed-off-by: Taction <[email protected]>
  • Loading branch information
Taction authored and C0rWin committed Dec 22, 2020
1 parent b952638 commit a953bbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gossip/privdata/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func (r *Reconciler) run() {
r.logger.Debug("Start reconcile missing private info")
if err := r.reconcile(); err != nil {
r.logger.Error("Failed to reconcile missing private info, error: ", err.Error())
break
}
}
}
Expand Down

0 comments on commit a953bbe

Please sign in to comment.