Skip to content

Commit 40686fc

Browse files
Applies "suggestions" from golangci-lint
1 parent a9861d2 commit 40686fc

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,5 +326,5 @@ func rawResponseFromErr(err error) []byte {
326326
}
327327

328328
// if the error is not an HTTPError return instead the error's details
329-
return []byte(fmt.Sprintf("%v", err))
329+
return fmt.Appendf(nil, "%v", err)
330330
}

retry/exp_backoff_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build integrationtest || !unittest
2-
// +build integrationtest !unittest
32

43
package retry_test
54

0 commit comments

Comments
 (0)