mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-15 11:14:19 +01:00
Corrected the multiple send
This commit is contained in:
@@ -455,8 +455,9 @@ func main() {
|
|||||||
for i := 0; i < 3; i++ {
|
for i := 0; i < 3; i++ {
|
||||||
err = runLoop(*param)
|
err = runLoop(*param)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
continue
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print the error and attempt number
|
// Print the error and attempt number
|
||||||
fmt.Fprintf(os.Stderr, "Attempt %d failed: %v\n", i+1, err)
|
fmt.Fprintf(os.Stderr, "Attempt %d failed: %v\n", i+1, err)
|
||||||
// Wait before the next attempt
|
// Wait before the next attempt
|
||||||
|
|||||||
Reference in New Issue
Block a user