Skip to content

Commit 7a8ed1c

Browse files
authored
docs: Small fixes to the Resource deletion section of API Concept
- Finalizers are a string array - Small grammar error
1 parent 226dc4a commit 7a8ed1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/reference/using-api/api-concepts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -724,13 +724,13 @@ When you **delete** a resource this takes place in two phases.
724724
"kind": "ConfigMap",
725725
"apiVersion": "v1",
726726
"metadata": {
727-
"finalizers": {"url.io/neat-finalization", "other-url.io/my-finalizer"},
727+
"finalizers": ["url.io/neat-finalization", "other-url.io/my-finalizer"],
728728
"deletionTimestamp": nil,
729729
}
730730
}
731731
```
732732

733-
When a client first sends a **delete** to request removal of a resource, the `.metadata.deletionTimestamp` is set to the current time.
733+
When a client first sends a **delete** to request the removal of a resource, the `.metadata.deletionTimestamp` is set to the current time.
734734
Once the `.metadata.deletionTimestamp` is set, external controllers that act on finalizers
735735
may start performing their cleanup work at any time, in any order.
736736

0 commit comments

Comments
 (0)