Skip to content

Commit

Permalink
fix: fix minor problem with debug message (#231)
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
  • Loading branch information
padamstx authored Oct 21, 2024
1 parent 031431d commit cf84c9d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "go.sum|package-lock.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-10-09T21:09:28Z",
"generated_at": "2024-10-21T14:32:01Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -148,7 +148,7 @@
"hashed_secret": "bc2f74c22f98f7b6ffbc2f67453dbfa99bce9a32",
"is_secret": false,
"is_verified": false,
"line_number": 857,
"line_number": 864,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Makefile to build go-sdk-core library
GO=go
LINT=golangci-lint
GOSEC=gosec
FORMATTER=goimports

COV_OPTS=-coverprofile=coverage.txt -covermode=atomic
Expand All @@ -26,3 +25,7 @@ format:

tidy:
${GO} mod tidy

detect-secrets:
detect-secrets scan --update .secrets.baseline
detect-secrets audit .secrets.baseline
2 changes: 1 addition & 1 deletion core/base_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ func IBMCloudSDKRetryPolicy(ctx context.Context, resp *http.Response, err error)
return true, nil
}

GetLogger().Debug("No retry for status code: %d\n")
GetLogger().Debug("No retry for status code: %d\n", resp.StatusCode)
return false, nil
}

Expand Down

0 comments on commit cf84c9d

Please sign in to comment.