Skip to content

Commit

Permalink
Fix channel create example with inbuilt alias for imcv1beta1 (knative…
Browse files Browse the repository at this point in the history
…#1005)

use `imcv1beta1` alias reference in the example
  • Loading branch information
navidshaikh committed Oct 2, 2020
1 parent 8fcd25c commit c2218da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/cmd/kn_channel_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ kn channel create NAME
# Create a channel 'pipe' with default setting for channel configuration
kn channel create pipe
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imc'
kn channel create imc1 --type imc
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imcv1beta1'
kn channel create imc1 --type imcv1beta1
# same as above without using inbuilt alias but providing explicit GVK
kn channel create imc1 --type messaging.knative.dev:v1beta1:InMemoryChannel
Expand Down
4 changes: 2 additions & 2 deletions pkg/kn/commands/channel/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ func NewChannelCreateCommand(p *commands.KnParams) *cobra.Command {
# Create a channel 'pipe' with default setting for channel configuration
kn channel create pipe
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imc'
kn channel create imc1 --type imc
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imcv1beta1'
kn channel create imc1 --type imcv1beta1
# same as above without using inbuilt alias but providing explicit GVK
kn channel create imc1 --type messaging.knative.dev:v1beta1:InMemoryChannel
Expand Down

0 comments on commit c2218da

Please sign in to comment.