Skip to content

Commit

Permalink
[transfer_manager]staticcheck: S1009
Browse files Browse the repository at this point in the history
commit_hash:551f4d4176ba1a90fb8cb0860e1801060319ddc3
  • Loading branch information
torkve committed Dec 9, 2024
1 parent 9b594a5 commit b3a62f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func NewCdcHistoryGroupTransformer(config RawCDCDocGrouperConfig) (*CdcHistoryGr

keys := config.Keys
var fields []string
if config.Fields != nil && len(config.Fields) > 0 {
if len(config.Fields) > 0 {
fields = config.Fields
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (r *RawDocGroupTransformer) collectParsedData(colNames []string, colValues
func NewRawDocGroupTransformer(config RawDocGrouperConfig) (*RawDocGroupTransformer, error) {
keys := config.Keys
var fields []string
if config.Fields != nil && len(config.Fields) > 0 {
if len(config.Fields) > 0 {
fields = config.Fields
}

Expand Down

0 comments on commit b3a62f0

Please sign in to comment.