Skip to content

Commit

Permalink
CLI-3149 confluent local kafka start requires Docker to be running as…
Browse files Browse the repository at this point in the history
… a prerequisite (#27) (#2867)

Signed-off-by: Victoria Bialas <vicky@confluent.io>
Co-authored-by: Brian Strauch <bstrauch24@gmail.com>
  • Loading branch information
londoncalling and brianstrauch authored Sep 3, 2024
1 parent 9c4f1b4 commit 2c14f84
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkg/docs/doc_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ func printDocPage(tabs []Tab, depth int) []string {
func printWarnings(cmd *cobra.Command, depth int) []string {
var rows []string

if strings.HasPrefix(cmd.CommandPath(), "confluent local") {
include := strings.Repeat("../", depth) + "includes/cli.rst"
include := strings.Repeat("../", depth) + "includes/cli.rst"
if cmd.CommandPath() == "confluent local kafka start" {
args := map[string]string{
"start-after": "cli_limitations_confluent_kafka_local_start",
"end-before": "cli_limitations_confluent_kafka_local_end",
}
rows = append(rows, printSphinxBlock("include", include, args)...)
} else if strings.HasPrefix(cmd.CommandPath(), "confluent local") {
args := map[string]string{
"start-after": "cli_limitations_start",
"end-before": "cli_limitations_end",
Expand Down

0 comments on commit 2c14f84

Please sign in to comment.