pkg/apis: Replace deprecated pointer function
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user