Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

Commit

Permalink
Update pubsubbeat.go (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo authored May 31, 2018
1 parent a2de027 commit 3e5f3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beater/pubsubbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (bt *Pubsubbeat) Stop() {
func createPubsubClient(config *config.Config) (*pubsub.Client, error) {
ctx := context.Background()
userAgent := fmt.Sprintf(
"(%s %s) Elastic/Pubsubbeat", runtime.GOOS, runtime.GOARCH)
"Elastic/Pubsubbeat (%s %s)", runtime.GOOS, runtime.GOARCH)
options := []option.ClientOption{option.WithUserAgent(userAgent)}
if config.CredentialsFile != "" {
options = append(options, option.WithCredentialsFile(config.CredentialsFile))
Expand Down

0 comments on commit 3e5f3e5

Please sign in to comment.