pkg/apis: Replace deprecated pointer function

Signed-off-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
TommyStarK
2023-01-03 19:19:59 +01:00
parent 12c71fdf1c
commit f166a52573
9 changed files with 262 additions and 262 deletions

View File

@@ -599,7 +599,7 @@ func validateIngressClassParametersReference(params *networking.IngressClassPara
}
if params.Scope != nil || params.Namespace != nil {
scope := utilpointer.StringPtrDerefOr(params.Scope, "")
scope := utilpointer.StringDeref(params.Scope, "")
if !supportedIngressClassParametersReferenceScopes.Has(scope) {
allErrs = append(allErrs, field.NotSupported(fldPath.Child("scope"), scope,