Skip to content

Commit f561114

Browse files
authored
Fix typo in DeletionTimestamp check
1 parent 3499d41 commit f561114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func (r *MyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Re
248248
}
249249

250250
// Remove the metrics when the CR is deleted
251-
if cr.DeletionTimeStamp != nil {
251+
if cr.DeletionTimestamp != nil {
252252
r.Recorder.RemoveConditionsFor(kind, cr)
253253
}
254254

@@ -263,4 +263,4 @@ func (r *MyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Re
263263

264264
return ctrl.Result{}, nil
265265
}
266-
```
266+
```

0 commit comments

Comments
 (0)