Skip to content

Commit 4cd3d25

Browse files
Deprecate InjectClient
1 parent 6bcef8a commit 4cd3d25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/runtime/inject/inject.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func ConfigInto(config *rest.Config, i interface{}) (bool, error) {
7272

7373
// Client is used by the ControllerManager to inject client into Sources, EventHandlers, Predicates, and
7474
// Reconciles
75+
// Deprecated: pass a client.Client to the Manager directly.
7576
type Client interface {
7677
InjectClient(client.Client) error
7778
}

0 commit comments

Comments
 (0)