ceph-csi/internal
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: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
csi-common cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
journal util: simplify error handling 2020-07-23 11:16:40 +00:00
liveness cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
rbd util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
util util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00