Skip to content

Commit

Permalink
Dont force flush logs
Browse files Browse the repository at this point in the history
  • Loading branch information
joreetz-otto committed Dec 15, 2023
1 parent 0473239 commit 2d639aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/gcp/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ func DiscoverServices(project, serviceName string, tracerProviderOptions []sdktr
if opt.gkeAutoDiscoverMetaData {
metadata, err := gke.GetMetaData()
if err != nil {
defer logger.Flush()

logger.Log(logging.Entry{
Severity: logging.Info,
Payload: fmt.Sprintf("Error getting MetaData: %s", err),
Expand Down

0 comments on commit 2d639aa

Please sign in to comment.