Skip to content

Commit

Permalink
chore: remove duplicate logic for err (envoyproxy#2731)
Browse files Browse the repository at this point in the history
Signed-off-by: bitliu <[email protected]>
  • Loading branch information
Xunzhuo authored Feb 29, 2024
1 parent f6ae81f commit c9b3f19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/gatewayapi/securitypolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,10 +650,6 @@ func (t *Translator) buildBasicAuth(
usersSecret.Namespace, usersSecret.Name)
}

if err != nil {
return nil, err
}

return &ir.BasicAuth{Users: usersSecretBytes}, nil
}

Expand Down

0 comments on commit c9b3f19

Please sign in to comment.