Skip to content

Commit

Permalink
Add missing error check
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Sep 26, 2024
1 parent 8df8816 commit e6034ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/csoclients/csoclients.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ func NewHypershiftGuestClients(
extractOperatorSpec,
extractOperatorStatus,
)
if err != nil {
return nil, err
}

dc, err := discovery.NewDiscoveryClientForConfig(kubeRestConfig)
if err != nil {
Expand Down

0 comments on commit e6034ea

Please sign in to comment.