diff --git a/pkg/csoclients/csoclients.go b/pkg/csoclients/csoclients.go index 8bebc3b51..0b90ffe90 100644 --- a/pkg/csoclients/csoclients.go +++ b/pkg/csoclients/csoclients.go @@ -248,6 +248,9 @@ func NewHypershiftGuestClients( extractOperatorSpec, extractOperatorStatus, ) + if err != nil { + return nil, err + } dc, err := discovery.NewDiscoveryClientForConfig(kubeRestConfig) if err != nil {