Skip to content

Commit abc8499

Browse files
committed
Fix gosec failure from golangci-lint. Also fix missing pre-commit changes
Signed-off-by: John Kjell <john.kjell@control-plane.io>
1 parent a0f4ed3 commit abc8499

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Fixes #
1616
- [ ] All review conversations resolved (automatically enforced)
1717
- [ ] [DCO Sign-off](https://github.com/apps/dco)
1818

19-
**Special notes for your reviewer**:
19+
**Special notes for your reviewer**:

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ updates:
2929
groups:
3030
github-actions:
3131
patterns:
32-
- "*"
32+
- "*"
3333
- package-ecosystem: docker
3434
directory: /
3535
schedule:

.github/workflows/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191

9292
- name: Set up Docker Buildx
9393
uses: docker/setup-buildx-action@v3
94-
94+
9595
- name: Download GoReleaser
9696
run: go install github.com/goreleaser/goreleaser@v1.23.0
9797

docs/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,4 +470,4 @@
470470
]
471471
}
472472
}
473-
}
473+
}

pkg/objectstorage/filestore/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func New(ctx context.Context, directory string, address string) (*Store, <-chan
4646

4747
<-ctx.Done()
4848

49-
if err := server.Shutdown(context.Background()); err != nil {
49+
if err := server.Shutdown(ctx); err != nil {
5050
log.Fatalf("Server Shutdown Failed:%+v", err)
5151
}
5252

0 commit comments

Comments
 (0)