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
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