From 3bac31545c658fd417f7f9b74738becc4c20ec04 Mon Sep 17 00:00:00 2001 From: Enda Phelan Date: Thu, 1 Jul 2021 12:11:04 +0100 Subject: [PATCH] fix(kafka consumergroup list): fix reference to the wrong i18n ID --- pkg/cmd/kafka/consumergroup/list/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/kafka/consumergroup/list/list.go b/pkg/cmd/kafka/consumergroup/list/list.go index 57df1400a..d6324435d 100644 --- a/pkg/cmd/kafka/consumergroup/list/list.go +++ b/pkg/cmd/kafka/consumergroup/list/list.go @@ -124,9 +124,9 @@ func runList(opts *Options) (err error) { switch httpRes.StatusCode { case 401: - return errors.New(opts.localizer.MustLocalize("kafka.consumerGroup.list.common.error.unauthorized", operationTmplPair)) + return errors.New(opts.localizer.MustLocalize("kafka.consumerGroup.common.error.unauthorized", operationTmplPair)) case 403: - return errors.New(opts.localizer.MustLocalize("kafka.consumerGroup.list.common.error.forbidden", operationTmplPair)) + return errors.New(opts.localizer.MustLocalize("kafka.consumerGroup.common.error.forbidden", operationTmplPair)) case 500: return errors.New(opts.localizer.MustLocalize("kafka.consumerGroup.common.error.internalServerError")) case 503: