mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(sdk): gofmt v3.5.2 for mege to master
Signed-off-by: zhumingze1108 <zhumingze@oppo.com>
This commit is contained in:
parent
6d7ed87406
commit
2f8f2f92a7
@ -488,6 +488,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
- DOCKER_TESTING_LOG_OFF="on"
|
- DOCKER_TESTING_LOG_OFF="on"
|
||||||
|
- DOCKER_FLASHNODE_TMPFS_OFF="on"
|
||||||
- http_proxy=
|
- http_proxy=
|
||||||
- https_proxy=
|
- https_proxy=
|
||||||
- HTTP_PROXY=
|
- HTTP_PROXY=
|
||||||
|
|||||||
@ -2267,7 +2267,8 @@ type DentryForAccessInfo struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (mw *MetaWrapper) getDentrysWithDepthLimit(parentIno uint64, parentPath string, dentryCh chan<- DentryForAccessInfo, errCh chan<- error, wg *sync.WaitGroup,
|
func (mw *MetaWrapper) getDentrysWithDepthLimit(parentIno uint64, parentPath string, dentryCh chan<- DentryForAccessInfo, errCh chan<- error, wg *sync.WaitGroup,
|
||||||
currentGoroutineNum *int32, newGoroutine bool, goroutineNum int32, currentDepth *int32, maxDepth int32) {
|
currentGoroutineNum *int32, newGoroutine bool, goroutineNum int32, currentDepth *int32, maxDepth int32,
|
||||||
|
) {
|
||||||
defer func() {
|
defer func() {
|
||||||
if newGoroutine {
|
if newGoroutine {
|
||||||
atomic.AddInt32(currentGoroutineNum, -1)
|
atomic.AddInt32(currentGoroutineNum, -1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user