Skip to content

Commit 98c70d6

Browse files
authored
Bump go to 1.24 (#229)
LMCROSSITXSADEPLOY-3206
1 parent c3ddd4c commit 98c70d6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/pull-request-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go
1414
uses: actions/setup-go@v3
1515
with:
16-
go-version: '1.20'
16+
go-version: '1.24'
1717

1818
- name: Download dependencies
1919
run: go get -d -t ./...

clients/csrf/default_csrf_token_fetcher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ func (c *DefaultCsrfTokenFetcher) FetchCsrfToken(url, authToken string) (csrf_pa
3939
// if there are set-cookie headers present in response - persist them in Transport
4040
cookies := response.Cookies()
4141
if len(cookies) != 0 {
42-
log.Tracef("Set-Cookie headers present in response, updating current with '" + prettyPrintCookies(cookies) + "'\n")
42+
log.Tracef("%s", "Set-Cookie headers present in response, updating current with '"+prettyPrintCookies(cookies)+"'\n")
4343
}
4444

45-
log.Tracef("New CSRF Token fetched '" + response.Header.Get(XCsrfToken) + "'\n")
45+
log.Tracef("%s", "New CSRF Token fetched '"+response.Header.Get(XCsrfToken)+"'\n")
4646
return csrf_parameters.CsrfParams{
4747
CsrfTokenHeader: response.Header.Get(XCsrfHeader),
4848
CsrfTokenValue: response.Header.Get(XCsrfToken),

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cloudfoundry-incubator/multiapps-cli-plugin
22

3-
go 1.20
3+
go 1.24
44

55
require (
66
code.cloudfoundry.org/cli v7.1.0+incompatible

0 commit comments

Comments
 (0)