Skip to content

Commit

Permalink
fix code comments
Browse files Browse the repository at this point in the history
Signed-off-by: ystaticy <[email protected]>
  • Loading branch information
ystaticy committed Dec 25, 2024
1 parent 7da9818 commit 93f29ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/locate/pd_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func NewCodecPDClientWithKeyspace(mode apicodec.Mode, client pd.Client, keyspace
return &CodecPDClient{client, codec}, nil
}

// NewCodecPDClientWithKeyspaceMeta creates a CodecPDClient in API v2 with keyspace name.
// NewCodecPDClientWithKeyspaceMeta creates a CodecPDClient in API v2 with keyspace meta.
func NewCodecPDClientWithKeyspaceMeta(mode apicodec.Mode, client pd.Client, keyspaceMeta *keyspacepb.KeyspaceMeta) (*CodecPDClient, error) {
if keyspaceMeta == nil {
return NewCodecPDClient(mode, client), nil
Expand Down

0 comments on commit 93f29ba

Please sign in to comment.