Skip to content

Commit

Permalink
Merge pull request redpanda-data#7529 from RafalKorepta/rk/reword-god…
Browse files Browse the repository at this point in the history
…oc-in-rpk-admin-api-command

rpk: Reword godoc to match guidance style
  • Loading branch information
RafalKorepta committed Nov 28, 2022
2 parents f40fd80 + c785215 commit 3a0df25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/api/admin/api_node_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type NodeConfig struct {
// TODO: add the rest of the fields
}

// NodeConfig returns a single node configuration.
// GetNodeConfig returns a single node configuration.
// It's expected to be called from an AdminAPI with a single broker URL,
// otherwise the method will return an error.
func (a *AdminAPI) GetNodeConfig(ctx context.Context) (NodeConfig, error) {
Expand Down

0 comments on commit 3a0df25

Please sign in to comment.