Skip to content

Commit

Permalink
fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
mandelsoft committed Nov 27, 2024
1 parent b62059c commit 0be13af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/config/internal/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

var _ = Describe("setup", func() {
It("creates initial", func() {
Expect(len(config.DefaultContext().ConfigTypes().KnownTypeNames())).To(Equal(6))
Expect(len(internal.DefaultConfigTypeScheme.KnownTypeNames())).To(Equal(6))
Expect(len(config.DefaultContext().ConfigTypes().KnownTypeNames())).To(Equal(8))
Expect(len(internal.DefaultConfigTypeScheme.KnownTypeNames())).To(Equal(8))
})
})
2 changes: 1 addition & 1 deletion cmds/ocm/commands/ocmcmds/names/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
Versions = []string{"versions", "vers", "v"}
Plugins = []string{"plugins", "plugin", "p"}
Action = []string{"action"}
FeatureGates = []string{"featuregates", "fg"}
FeatureGates = []string{"featuregates", "featuregate", "fg"}
RoutingSlips = []string{"routingslips", "routingslip", "rs"}
PubSub = []string{"pubsub", "ps"}
Verified = []string{"verified"}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ocm_get_featuregates.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ocm get featuregates [<options>] {<name>}
#### Aliases

```text
featuregates, fg
featuregates, featuregate, fg
```

### Options
Expand Down

0 comments on commit 0be13af

Please sign in to comment.