diff --git a/core/uploader.go b/core/uploader.go index 3f3b983..aaf21ef 100644 --- a/core/uploader.go +++ b/core/uploader.go @@ -232,6 +232,7 @@ func extractThumb(outputURI *url.URL, segment []byte, storageFallbackURLs map[st errGroup := &errgroup.Group{} for _, thumbURL := range thumbURLs { + thumbURL := thumbURL errGroup.Go(func() error { _, _, err = uploadFileWithBackup(thumbURL, thumbData, fields, 10*time.Second, true, storageFallbackURLs) if err != nil {