Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
exclude everest-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Oct 19, 2023
1 parent 9301d6d commit 51d5039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubernetes/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ func (c *Client) CreateSubscriptionForCatalog(ctx context.Context, namespace, na
Subscriptions(namespace).
Create(ctx, subscription, metav1.CreateOptions{})
if err != nil {
if apierrors.IsAlreadyExists(err) {
if apierrors.IsAlreadyExists(err) && name != "everest-operator" {
bytes, mErr := json.Marshal(subscription)
if mErr != nil {
return nil, err
Expand Down

0 comments on commit 51d5039

Please sign in to comment.