From d58e5541a08e0b577765cca8e3298b6dc37689b9 Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Wed, 9 Feb 2022 11:45:38 +0000 Subject: [PATCH] fix: interactive mode when creating kafka using CLI (#1423) --- pkg/cmd/kafka/create/create.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cmd/kafka/create/create.go b/pkg/cmd/kafka/create/create.go index ebaa5121e..887bd1fb6 100644 --- a/pkg/cmd/kafka/create/create.go +++ b/pkg/cmd/kafka/create/create.go @@ -178,6 +178,8 @@ func runCreate(opts *options) error { return err } + opts.provider = payload.GetCloudProvider() + opts.region = payload.GetRegion() } else { if opts.provider == "" { opts.provider = defaultProvider