From 3e5f3e5595318f6dc4c775c185324e1bb529de3f Mon Sep 17 00:00:00 2001 From: Vincent Roseberry Date: Thu, 31 May 2018 11:32:09 -0700 Subject: [PATCH] Update pubsubbeat.go (#10) --- beater/pubsubbeat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beater/pubsubbeat.go b/beater/pubsubbeat.go index c5400e8fc..fd7af466e 100644 --- a/beater/pubsubbeat.go +++ b/beater/pubsubbeat.go @@ -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))