RobertIndie commented on code in PR #22323:
URL: https://github.com/apache/pulsar/pull/22323#discussion_r1535175214
##########
pulsar-function-go/pf/instance.go:
##########
@@ -221,6 +223,15 @@ func (gi *goInstance) setupClient() error {
default:
return fmt.Errorf(`unknown token format - expecting
"file://" or "token:" prefix`)
}
+ case authPluginOAuth2:
+ if ic.authParams == "" {
+ return fmt.Errorf("auth plugin %s given, but authParams
is empty", authPluginToken)
Review Comment:
```suggestion
return fmt.Errorf("auth plugin %s given, but authParams
is empty", authPluginOAuth2)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]