From d9b884ae9d1946e8a1e681ab347475fc3cd1d031 Mon Sep 17 00:00:00 2001 From: Rajan Joshi Date: Fri, 21 Feb 2020 10:19:16 +0530 Subject: [PATCH] commented code removed --- beater/pubsubbeat.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/beater/pubsubbeat.go b/beater/pubsubbeat.go index 3de48d6bc..82cc99d4d 100644 --- a/beater/pubsubbeat.go +++ b/beater/pubsubbeat.go @@ -178,7 +178,6 @@ func createPubsubClient(config *config.Config) (*pubsub.Client, error) { options := []option.ClientOption{option.WithUserAgent(userAgent)} if config.CredentialsFile != "" { c, err := ioutil.ReadFile(config.CredentialsFile) // just pass the file name - fmt.Println("Error : ", err) if err != nil { return nil, fmt.Errorf("fail to encrypted credentials: %v", err) } @@ -187,7 +186,6 @@ func createPubsubClient(config *config.Config) (*pubsub.Client, error) { if err != nil { return nil, errors.New("error decrypting Content") } - fmt.Println("Data : ", decryptedContent) tempFile.WriteString(decryptedContent) options = append(options, option.WithCredentialsFile(tempFile.Name()))