Commit 71672471 authored by liuyuhang's avatar liuyuhang Committed by vipwzw

modify linter

parent 90bf85d8
......@@ -391,10 +391,7 @@ func setDelMavl(state int32) {
}
func isNeedDelPrunedMavl() bool {
if atomic.LoadInt32(&delPrunedMavlState) == 0 {
return true
}
return false
return atomic.LoadInt32(&delPrunedMavlState) == 0
}
func setDelPrunedMavl(state int32) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment