From 9bd0705e124de4f2e847a63480b26e23ec5f5b3b Mon Sep 17 00:00:00 2001 From: changgesi Date: Thu, 11 Dec 2025 14:07:59 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: changgesi --- pkg/cli/cli.go | 2 +- pkg/groups/groups.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index a60a1208..762ed7d4 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -643,7 +643,7 @@ func (c *CLIRunner) DeleteTopic(ctx context.Context, topic string) error { return nil } -// GerUsers fetches the details of each user in the cluster and prints out a table of them. +// GetUsers fetches the details of each user in the cluster and prints out a table of them. func (c *CLIRunner) GetUsers(ctx context.Context, names []string) error { c.startSpinner() diff --git a/pkg/groups/groups.go b/pkg/groups/groups.go index 6874cca2..319f22ec 100644 --- a/pkg/groups/groups.go +++ b/pkg/groups/groups.go @@ -225,7 +225,7 @@ func ResetOffsets( ) } -// GetEarliestorLatestOffset gets earliest/latest offset for a given topic partition for resetting offsets of consumer group +// GetEarliestOrLatestOffset gets earliest/latest offset for a given topic partition for resetting offsets of consumer group func GetEarliestOrLatestOffset( ctx context.Context, connector *admin.Connector,