Skip to content

Commit

Permalink
feat: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
larryanz committed Feb 13, 2025
1 parent 46f10ed commit a20f447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub/pstest/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func NewServerWithPort(port int, opts ...ServerReactorOption) *Server {
}

// NewServerWithAddress creates a new fake server running in the current process
// at the specified host.
// at the specified address (host and port).
func NewServerWithAddress(address string, opts ...ServerReactorOption) *Server {
return NewServerWithCallback(address, func(*grpc.Server) { /* empty */ }, opts...)
}
Expand Down

0 comments on commit a20f447

Please sign in to comment.