refactor: safe exec commands #3699
87.61% of diff hit (target 60.00%)
View this Pull Request on Codecov
87.61% of diff hit (target 60.00%)
Annotations
Check warning on line 73 in pkg/ddc/efc/operations/base.go
codecov / codecov/patch
pkg/ddc/efc/operations/base.go#L71-L73
Added lines #L71 - L73 were not covered by tests
Check warning on line 70 in pkg/ddc/jindo/operations/base.go
codecov / codecov/patch
pkg/ddc/jindo/operations/base.go#L70
Added line #L70 was not covered by tests
Check warning on line 93 in pkg/ddc/jindocache/operations/base.go
codecov / codecov/patch
pkg/ddc/jindocache/operations/base.go#L91-L93
Added lines #L91 - L93 were not covered by tests
Check warning on line 91 in pkg/ddc/jindofsx/operations/base.go
codecov / codecov/patch
pkg/ddc/jindofsx/operations/base.go#L91
Added line #L91 was not covered by tests
Check warning on line 330 in pkg/ddc/juicefs/operations/base.go
codecov / codecov/patch
pkg/ddc/juicefs/operations/base.go#L330
Added line #L330 was not covered by tests
Check warning on line 160 in pkg/ddc/thin/operations/base.go
codecov / codecov/patch
pkg/ddc/thin/operations/base.go#L160
Added line #L160 was not covered by tests
Check warning on line 87 in pkg/utils/cmdguard/exec.go
codecov / codecov/patch
pkg/utils/cmdguard/exec.go#L87
Added line #L87 was not covered by tests
Check warning on line 58 in pkg/utils/home.go
codecov / codecov/patch
pkg/utils/home.go#L58
Added line #L58 was not covered by tests