We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40fe01e commit 5bc2c17Copy full SHA for 5bc2c17
1 file changed
pkg/ddc/efc/operations/base.go
@@ -77,6 +77,9 @@ func (a EFCFileUtils) DeleteDir(dir string) (err error) {
77
return
78
}
79
80
+// Ready checks whether the EFC mount type exists in the current runtime environment.
81
+// It executes a mount command to search for the EFC mount type. If the command
82
+// fails, it logs the error and returns false; otherwise, it returns true.
83
func (a EFCFileUtils) Ready() (ready bool) {
84
var (
85
command = []string{"mount", "|", "grep", common.EFCMountType}
0 commit comments