Skip to content

Commit

Permalink
Merge pull request #223 from bookingcom/dzhdanov/dependabot
Browse files Browse the repository at this point in the history
Adding dependabot to repo
  • Loading branch information
deniszh authored Aug 13, 2024
2 parents e1f9f58 + 3142558 commit e1da6c6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: weekly
time: '10:00'
open-pull-requests-limit: 10

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
2 changes: 2 additions & 0 deletions pkg/k8s/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ func getLocalContainers(cfg *conf.Main) (res map[string]contInfo, retErr error)
}
}()

//TODO: remove deprecated call
//lint:ignore SA1019
listOpts := types.ContainerListOptions{}
listOpts.Filters = filters.NewArgs(filters.Arg("label", "io.kubernetes.container.name=POD"), filters.Arg("label", fmt.Sprintf("%s=%s", cfg.K8sSwitchLabelKey, cfg.K8sSwitchLabelVal)))
containers, err := client.ContainerList(context.Background(), listOpts)
Expand Down

0 comments on commit e1da6c6

Please sign in to comment.