Skip to content

Commit

Permalink
Replace deprecated method use for CR v0.15.0
Browse files Browse the repository at this point in the history
This change replaces deprecated method usage with the new standards
defined by controller-runtime v0.15.0.

The changes are noted in the release notes:
https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0

Specifically we are changing:
    1. Usage of options.Namespace replaced by options.Cache.Namespaces
    2. Usage of MultiNamespacedCacheBuilder replaced by
       options.Cache{Namespaces} struct.
    3. wait.ErrWaitTimeout replaced by wait.Interrupted(err)

Signed-off-by: Brendan Shephard <bshephar@redhat.com>
  • Loading branch information
bshephar committed Jul 6, 2023
1 parent 1b91307 commit f4afaa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/sdk/controllerutil/controllerutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package controllerutil_test

import (
"context"
"fmt"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down

0 comments on commit f4afaa9

Please sign in to comment.