Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWright committed Apr 11, 2021
1 parent 5f1d682 commit a2fa5d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/storage/csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func interfaceToCSVDocument(val interface{}) (*CSVDocument, error) {
if x, ok := val.(map[string]interface{}); ok {
mapVals = append(mapVals, x)

for objectKey, _ := range x {
for objectKey := range x {
found := false
for _, existingHeader := range headers {
if existingHeader == objectKey {
Expand Down
1 change: 1 addition & 0 deletions selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func DynamicSelectorToGroups(selector string) ([]string, error) {
return res, nil
}

// DynamicSelectorParts contains the parts for a dynamic selector.
type DynamicSelectorParts struct {
Key string
Comparison string
Expand Down

0 comments on commit a2fa5d3

Please sign in to comment.