Commit c879259a
c879259ad9e9Merged
Svyatoslav Dumchenko <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified
Description
fix golangci-lint warning
Details
- Commit
- c879259ad9e9
- Parent
- e1d15ee3d8a6
pkg/parallel/parallel.gomodifiedView file
@@ -39,7 +39,7 @@
3939
wg.syncWG.Wait()4040
close(wg.errChan)4141
wg.closeMutex.Lock()42-
wg.closeMutex.Unlock()42+
defer wg.closeMutex.Unlock()4343
4444
return wg.err.ErrorOrNil()4545
}