Removing deprecation notice for this function.

While the constructor is not used by Helm itself, it is used by SDK
users and there is currently no alternative way to expose this.

Signed-off-by: Matt Farina <matt.farina@suse.com>
pull/30686/head
Matt Farina 5 months ago
parent 7938662f95
commit ed005f5c32
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -35,9 +35,6 @@ type lookupFunc = func(apiversion string, resource string, namespace string, nam
// NewLookupFunction returns a function for looking up objects in the cluster.
//
// If the resource does not exist, no error is raised.
//
// This function is considered deprecated, and will be renamed in Helm 4. It will no
// longer be a public function.
func NewLookupFunction(config *rest.Config) lookupFunc {
return newLookupFunction(clientProviderFromConfig{config: config})
}

Loading…
Cancel
Save