Skip to content

Commit

Permalink
🧹 add log msg to bigquery tables fetching (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeffrey authored Sep 6, 2023
1 parent a2de46f commit 58f0545
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/packs/gcp/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"time"

"cloud.google.com/go/bigquery"
"github.com/rs/zerolog/log"
"go.mondoo.com/cnquery/resources"
"go.mondoo.com/cnquery/resources/packs/core"
"google.golang.org/api/iterator"
Expand Down Expand Up @@ -262,6 +263,7 @@ func (g *mqlGcpProjectBigqueryServiceDataset) GetTables() ([]interface{}, error)
if err != nil {
return nil, err
}
log.Debug().Msgf("fetching metadata for table %s", table.FullyQualifiedName())

metadata, err := table.Metadata(ctx)
if err != nil {
Expand Down

0 comments on commit 58f0545

Please sign in to comment.