Skip to content

Commit

Permalink
Deprecate InjectClient
Browse files Browse the repository at this point in the history
  • Loading branch information
varshaprasad96 committed Jan 7, 2021
1 parent 6bcef8a commit 4cd3d25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/runtime/inject/inject.go
Expand Up @@ -72,6 +72,7 @@ func ConfigInto(config *rest.Config, i interface{}) (bool, error) {

// Client is used by the ControllerManager to inject client into Sources, EventHandlers, Predicates, and
// Reconciles
// Deprecated: pass a client.Client to the Manager directly.
type Client interface {
InjectClient(client.Client) error
}
Expand Down

0 comments on commit 4cd3d25

Please sign in to comment.