ci: execCommandInDaemonsetPod should not return unused stdout

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2022-04-25 10:29:18 +02:00
committed by mergify[bot]
parent 5c1584671e
commit 782f08e2f0
2 changed files with 12 additions and 7 deletions

View File

@ -154,7 +154,7 @@ func unmountCephFSVolume(f *framework.Framework, appName, pvcName string) error
"umount /var/lib/kubelet/pods/%s/volumes/kubernetes.io~csi/%s/mount",
pod.UID,
pvc.Spec.VolumeName)
_, stdErr, err := execCommandInDaemonsetPod(
stdErr, err := execCommandInDaemonsetPod(
f,
cmd,
cephFSDeamonSetName,