Skip to content

Commit

Permalink
Merge pull request #3761 from gthao313/go-lint
Browse files Browse the repository at this point in the history
actions-workflow: bump action go version to 1.21
  • Loading branch information
gthao313 authored Feb 6, 2024
2 parents 2b1a787 + 0c0011a commit 6057f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- uses: actions/checkout@v4
- name: lint-host-ctr
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion sources/host-ctr/cmd/host-ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
var ecrRegex = regexp.MustCompile(`(^[a-zA-Z0-9][a-zA-Z0-9-_]*)\.dkr\.ecr\.([a-zA-Z0-9][a-zA-Z0-9-_]*)\.amazonaws\.com(\.cn)?.*`)

func init() {
rand.Seed(time.Now().UnixNano())
rand.New(rand.NewSource(time.Now().UnixNano()))
// Dispatch logging output instead of writing all levels' messages to
// stderr.
log.L.Logger.SetOutput(io.Discard)
Expand Down

0 comments on commit 6057f8e

Please sign in to comment.