mirror of
https://github.com/kastenhq/kubestr.git
synced 2024-12-14 11:57:56 +00:00
adding comment to runAsUser (#41)
This commit is contained in:
parent
0d19faef2d
commit
41e5692566
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ func (s *snapshotRestoreSteps) CreateApplication(ctx context.Context, args *type
|
|||
func (s *snapshotRestoreSteps) ValidateData(ctx context.Context, pod *v1.Pod, data string) error {
|
||||
podData, err := s.dataValidatorOps.FetchPodData(pod.Name, pod.Namespace)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "Failed to fetch data from pod")
|
||||
return errors.Wrap(err, "Failed to fetch data from pod. Failure may be due to permissions issues. Try again with runAsUser=1000 option.")
|
||||
}
|
||||
if podData != data {
|
||||
return fmt.Errorf("string didn't match (%s , %s)", podData, data)
|
||||
|
|
Loading…
Reference in a new issue