Skip to content

Commit

Permalink
chore: fix function names in comment (#3536)
Browse files Browse the repository at this point in the history
  • Loading branch information
findnature authored Apr 24, 2024
1 parent 59a959a commit f48ca95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/registry/polaris/polaris_z_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ func TestService_GetPrefix(t *testing.T) {
}
}

// TestService_GetName Test GetName
// TestService_GetKey Test GetKey
func TestService_GetKey(t *testing.T) {
type fields struct {
Service gsvc.Service
Expand Down
2 changes: 1 addition & 1 deletion net/gclient/gclient_z_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ func ExampleClient_SetProxy() {
// true
}

// ExampleClientChain_Proxy a chain version of example for `gclient.Client.Proxy` method.
// ExampleClient_Proxy a chain version of example for `gclient.Client.Proxy` method.
// please prepare two proxy server before running this example.
// http proxy server listening on `127.0.0.1:1081`
// socks5 proxy server listening on `127.0.0.1:1080`
Expand Down
2 changes: 1 addition & 1 deletion os/glog/glog_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (l *Logger) printStd(ctx context.Context, level int, values ...interface{})
l.print(ctx, level, "", values...)
}

// printStd prints content `s` with stack check.
// printErr prints content `s` with stack check.
func (l *Logger) printErr(ctx context.Context, level int, values ...interface{}) {
var stack string
if l.config.StStatus == 1 {
Expand Down

0 comments on commit f48ca95

Please sign in to comment.