diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4864f1f..8e47cc5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,39 +5,35 @@ updates: - package-ecosystem: "gomod" directory: "/always" schedule: - interval: "weekly" - registries: - - github-machine + interval: "monthly" groups: dependencies: patterns: - "*" - package-ecosystem: "gomod" - directory: "/probe" + directory: "/graceful" schedule: - interval: "weekly" - registries: - - github-machine + interval: "monthly" groups: dependencies: patterns: - "*" - package-ecosystem: "gomod" - directory: "/graceful" + directory: "/memkv" schedule: - interval: "weekly" - registries: - - github-machine + interval: "monthly" groups: dependencies: patterns: - "*" -registries: - github-machine: - type: git - url: https://github.com - username: x-access-token - password: ${{ secrets.REPO_READONLY_TOKEN }} + - package-ecosystem: "gomod" + directory: "/probe" + schedule: + interval: "monthly" + groups: + dependencies: + patterns: + - "*" diff --git a/graceful/graceful.go b/graceful/graceful.go index 80293f1..8ec6b40 100644 --- a/graceful/graceful.go +++ b/graceful/graceful.go @@ -51,7 +51,6 @@ func (g Group) Start(ctx context.Context, signals ...os.Signal) error { if r == nil { continue } - r := r eg.Go(func() error { return r.Start(ctx) }) } @@ -77,7 +76,6 @@ func (g Group) Stop(ctx context.Context, timeout time.Duration) error { if r == nil { continue } - r := r eg.Go(func() error { return r.Stop(ctx) }) }