Skip to content

Commit

Permalink
bypass if check
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan-at-work committed Feb 11, 2019
1 parent ecee882 commit e2aa9e6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gcputil/gcputil.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ func NewOpenCensusExporter(projectID string, onErr func(error)) (*stackdriver.Ex
if opts == nil {
return nil, nil
}
exp, err := stackdriver.NewExporter(*opts)
if err != nil {
return nil, err
}
return exp, nil
return stackdriver.NewExporter(*opts)
}

// GoogleProjectID returns the GCP Project ID
Expand Down

0 comments on commit e2aa9e6

Please sign in to comment.