Skip to content

Commit fa73422

Browse files
committed
Fix format strings to include %d
1 parent 31d23d1 commit fa73422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/bb_worker/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ func main() {
161161

162162
inputDownloadConcurrency := configuration.InputDownloadConcurrency
163163
if inputDownloadConcurrency <= 0 {
164-
return status.Errorf(codes.InvalidArgument, "Nonpositive input download concurrency: ", inputDownloadConcurrency)
164+
return status.Errorf(codes.InvalidArgument, "Nonpositive input download concurrency: %d", inputDownloadConcurrency)
165165
}
166166
inputDownloadConcurrencySemaphore := semaphore.NewWeighted(inputDownloadConcurrency)
167167

168168
outputUploadConcurrency := configuration.OutputUploadConcurrency
169169
if outputUploadConcurrency <= 0 {
170-
return status.Errorf(codes.InvalidArgument, "Nonpositive output upload concurrency: ", outputUploadConcurrency)
170+
return status.Errorf(codes.InvalidArgument, "Nonpositive output upload concurrency: %d", outputUploadConcurrency)
171171
}
172172
outputUploadConcurrencySemaphore := semaphore.NewWeighted(outputUploadConcurrency)
173173

0 commit comments

Comments
 (0)