Skip to content

Commit

Permalink
docs: correct spelling of Operator scope (#6728)
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Belousov <vbelouso@redhat.com>
  • Loading branch information
vbelouso authored May 1, 2024
1 parent 308b320 commit de40e50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{

### Watching resources in specific Namespaces

To restrict the scope of the [Manager's][ctrl-manager] cache to a specific Namespace set the `Cache.DefaultNamespaces'
To restrict the scope of the [Manager's][ctrl-manager] cache to a specific Namespace, set `Cache.DefaultNamespaces`
field in [Options][ctrl-options]:

```go
Expand All @@ -64,7 +64,7 @@ mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{

### Watching resources in a set of Namespaces

It is also possible to use 'DefaultNamepsaces' to watch and manage resources in a set of Namespaces:
It is also possible to use `DefaultNamespaces` to watch and manage resources in a set of Namespaces:

```go
...
Expand Down

0 comments on commit de40e50

Please sign in to comment.