Skip to content

Update go 1.20 - #4

Open
inductor wants to merge 1 commit into
mainfrom
go_1_20
Open

Update go 1.20#4
inductor wants to merge 1 commit into
mainfrom
go_1_20

Conversation

@inductor

Copy link
Copy Markdown
Member

No description provided.

@inductor
inductor requested a review from ShotaKitazawa May 11, 2023 08:37
Comment thread dreamkast/client.go
url := c.dkEndpointUrl
url.Path = filepath.Join(url.Path, "/api/v1/events")
req, err := http.NewRequest("GET", url.String(), nil)
req, err := http.NewRequestWithContext(ctx, "GET", "url.String()", nil)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
req, err := http.NewRequestWithContext(ctx, "GET", "url.String()", nil)
req, err := http.NewRequestWithContext(ctx, "GET", url.String(), nil)

Comment thread Dockerfile
Comment on lines +19 to +23
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags "\
-X github.com/cloudnativedaysjp/seaman/version.Version=${APP_VERSION} \
-X github.com/cloudnativedaysjp/seaman/version.Commit=${APP_COMMIT} \
-s -w \
" -trimpath -a -o external-scaler .

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags "\
-X github.com/cloudnativedaysjp/seaman/version.Version=${APP_VERSION} \
-X github.com/cloudnativedaysjp/seaman/version.Commit=${APP_COMMIT} \
-s -w \
" -trimpath -a -o external-scaler .
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags -trimpath -a -o external-scaler .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants