ceph-csi/internal/cephfs
Niels de Vos 36469b87e2 util: make ExecComand return stdout and stderr as string
Most consumers of util.ExecCommand() need to convert the returned []byte
format of stdout and/or stderr to string. By having util.ExecCommand()
return strings instead, the code gets a little simpler.

A few commands return JSON that needs to be parsed. These commands will
be replaced by go-ceph implementations later on. For now, convert the
strings back to []byte when needed.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-07-24 16:04:13 +00:00
..
cephfs_util.go util: simplify error handling 2020-07-23 11:16:40 +00:00
controllerserver.go cephfs: simplify error handling 2020-07-23 11:16:40 +00:00
driver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
errors.go cephfs: simplify error handling 2020-07-23 11:16:40 +00:00
fsjournal.go cephfs: simplify error handling 2020-07-23 11:16:40 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver.go cephfs: simplify error handling 2020-07-23 11:16:40 +00:00
util.go util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
volume.go util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
volumemounter.go util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
volumeoptions.go cephfs: simplify error handling 2020-07-23 11:16:40 +00:00