Skip to content

Commit

Permalink
fix golangci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Sep 11, 2023
1 parent 6a47d51 commit b097adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ linters:
- asciicheck
- bodyclose
# - cyclop
- depguard
# - depguard
- dogsled
- dupl
- durationcheck
Expand Down
2 changes: 1 addition & 1 deletion streamer_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func sanitizeStorageClientConfig(cfg *StorageClientConfig) (sanCfg *StorageClien
// Defined as a function to keep its logic contained and well tested.
func sanitizeBatchClientConfig(cfg *BatchClientConfig) (batchCfg *BatchClientConfig, err error) {
if cfg == nil {
return
return cfg, nil
}

// we want to create a new config, as to not mutate an input param (the cfg),
Expand Down

0 comments on commit b097adc

Please sign in to comment.