chore(client): update func definition to be clearer (#281)

Signed-off-by: Josh Dando <joshdando@Joshs-MacBook-Pro.local>

Co-authored-by: Josh Dando <joshdando@Joshs-MacBook-Pro.local>
This commit is contained in:
Josh 2022-04-23 16:52:31 +01:00 committed by GitHub
parent 9b8d4027a8
commit 24ccf7eb52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ func NewClient() (client Client, err error) {
return defaultClient, onceErr
}
// NewClientWithPort instantiates Dapr using specific port.
// NewClientWithPort instantiates Dapr using specific gRPC port.
func NewClientWithPort(port string) (client Client, err error) {
if port == "" {
return nil, errors.New("nil port")