Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
OADP-5952: clear error for disableFsBackup
This error message can be carried in OADP-1.5
Upstream issue:
vmware-tanzu#8185

Signed-off-by: Wesley Hayutin <[email protected]>
  • Loading branch information
weshayutin committed Apr 16, 2025
commit 05dd6ecd10008e66cb5a6f92664e8956536a982c
5 changes: 4 additions & 1 deletion pkg/exposer/host_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ func GetPodVolumeHostPath(ctx context.Context, pod *corev1.Pod, volumeName strin

path, err := singlePathMatch(pathGlob, fs, logger)
if err != nil {
return datapath.AccessPoint{}, errors.Wrapf(err, "error identifying unique volume path on host for volume %s in pod %s", volumeName, pod.Name)
return datapath.AccessPoint{}, errors.Wrapf(err, `error identifying unique volume path
on host for volume %s in pod %s, or the DPA spec.configuration.velero.disableFsBackup
is set to true, please contact your administrator. `,
volumeName, pod.Name)
}

logger.WithField("path", path).Info("Found path matching glob")
Expand Down