Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v2.1.6
version: v2.3.0
args: --timeout 5m
2 changes: 1 addition & 1 deletion internal/services/function/helpers_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func functionUpload(ctx context.Context, m any, functionAPI *function.API, regio
}
defer zip.Close() //nolint: errcheck

req, err := http.NewRequest(http.MethodPut, uploadURL.URL, zip)
req, err := http.NewRequestWithContext(ctx, http.MethodPut, uploadURL.URL, zip)
if err != nil {
return fmt.Errorf("failed to init request: %w", err)
}
Expand Down
Loading