Rephrase log message that causes sporadic test failures

This commit is contained in:
David Dworken 2023-10-12 20:19:46 -07:00
parent dbb555e20c
commit 56995aa255
No known key found for this signature in database

View File

@ -31,7 +31,7 @@ func UpdateReleaseVersion() error {
return fmt.Errorf("failed to read github API response body: %w", err) return fmt.Errorf("failed to read github API response body: %w", err)
} }
if resp.StatusCode == 403 && strings.Contains(string(respBody), "API rate limit exceeded for ") { if resp.StatusCode == 403 && strings.Contains(string(respBody), "API rate limit exceeded for ") {
fmt.Printf("failed to update release version due to 403 err, body=%#v\n", string(respBody)) fmt.Printf("skipping updating release version due to 403 rate limiting err, body=%#v\n", string(respBody))
return nil return nil
} }
if resp.StatusCode != 200 { if resp.StatusCode != 200 {