Skip to content

Commit 2b18c90

Browse files
committed
fix staticcheck error
1 parent 6f3d451 commit 2b18c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/coordinator/clients/consensus/rpc/beaconapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (bc *BeaconClient) Initialize(ctx context.Context) error {
5656
}
5757

5858
// set extra endpoint headers
59-
if bc.headers != nil && len(bc.headers) > 0 {
59+
if len(bc.headers) > 0 {
6060
cliParams = append(cliParams, http.WithExtraHeaders(bc.headers))
6161
}
6262

0 commit comments

Comments
 (0)