Skip to content

Commit 85653be

Browse files
committed
Replace deprecated method use for CR v0.15.0
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 <[email protected]>
1 parent 1b91307 commit 85653be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/sdk/controllerutil/controllerutil_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package controllerutil_test
1818

1919
import (
2020
"context"
21+
"fmt"
2122

2223
. "github.com/onsi/ginkgo/v2"
2324
. "github.com/onsi/gomega"

0 commit comments

Comments
 (0)