File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -108,21 +108,3 @@ func IsCRDNotFoundError(err error) bool {
108108
109109 return true
110110}
111-
112- // IgnoreCRDNotFound returns nil on "CRD not found" errors.
113- // All other values that are not "CRD not found" errors or nil are returned unmodified.
114- func IgnoreCRDNotFound (err error ) error {
115- if IsCRDNotFoundError (err ) {
116- return nil
117- }
118- return err
119- }
120-
121- // IgnoreObjectOrCRDNotFound returns nil on NotFound and "CRD not found" errors.
122- // All other values that are not NotFound or "CRD not found" errors or nil are returned unmodified.
123- func IgnoreObjectOrCRDNotFound (err error ) error {
124- if apierrors .IsNotFound (err ) || IsCRDNotFoundError (err ) {
125- return nil
126- }
127- return err
128- }
You can’t perform that action at this time.
0 commit comments