docs: Fix broker class in create command (#1541)

Closes: #1540
Signed-off-by: Michael Gasch <mgasch@vmware.com>
This commit is contained in:
Michael Gasch 2021-12-10 16:31:29 +01:00 committed by GitHub
parent e7d7cad429
commit 29a529a6d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ kn broker create NAME
kn broker create mybroker
# 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
```

View File

@ -31,7 +31,7 @@ var createExample = `
kn broker create mybroker
# 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