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

Commit

Permalink
Add semi-colon in user-agent for consistency (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo authored and josephlewis42 committed Jun 1, 2018
1 parent 3e5f3e5 commit c674190
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(
"Elastic/Pubsubbeat (%s %s)", 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 c674190

Please sign in to comment.