mirror of https://github.com/dapr/go-sdk.git
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:
parent
9b8d4027a8
commit
24ccf7eb52
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue