mirror of https://github.com/knative/client.git
docs: Fix broker class in create command (#1541)
Closes: #1540 Signed-off-by: Michael Gasch <mgasch@vmware.com>
This commit is contained in:
parent
e7d7cad429
commit
29a529a6d0
|
|
@ -14,7 +14,7 @@ kn broker create NAME
|
||||||
kn broker create mybroker
|
kn broker create mybroker
|
||||||
|
|
||||||
# Create a broker 'mybroker' in the 'myproject' namespace and with a broker class of 'Kafka'
|
# Create a broker 'mybroker' in the 'myproject' namespace and with a broker class of 'Kafka'
|
||||||
kn broker create mybroker --namespace myproject --broker Kafka
|
kn broker create mybroker --namespace myproject --class Kafka
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ var createExample = `
|
||||||
kn broker create mybroker
|
kn broker create mybroker
|
||||||
|
|
||||||
# Create a broker 'mybroker' in the 'myproject' namespace and with a broker class of 'Kafka'
|
# Create a broker 'mybroker' in the 'myproject' namespace and with a broker class of 'Kafka'
|
||||||
kn broker create mybroker --namespace myproject --broker Kafka
|
kn broker create mybroker --namespace myproject --class Kafka
|
||||||
`
|
`
|
||||||
|
|
||||||
// NewBrokerCreateCommand represents command to create new broker instance
|
// NewBrokerCreateCommand represents command to create new broker instance
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue