Skip to content

Commit

Permalink
re-inserted some subsequent changes after reverting a commit
Browse files Browse the repository at this point in the history
  • Loading branch information
slr71 committed May 29, 2024
1 parent d738f16 commit 8909f1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (i *Internal) getPersistentVolumes(ctx context.Context, job *model.Job) ([]
}

// shared path
sharedPathMapping := i.getSharedPathMapping(job)
sharedPathMapping := i.getSharedPathMapping()
dataPathMappings = append(dataPathMappings, sharedPathMapping)

// convert path mappings into json
Expand Down Expand Up @@ -241,7 +241,7 @@ func (i *Internal) getPersistentVolumeClaims(ctx context.Context, job *model.Job
},
StorageClassName: &storageclassname,
VolumeName: i.getCSIDataVolumeName(job),
Resources: apiv1.ResourceRequirements{
Resources: apiv1.VolumeResourceRequirements{
Requests: apiv1.ResourceList{
apiv1.ResourceStorage: defaultStorageCapacity,
},
Expand Down

0 comments on commit 8909f1d

Please sign in to comment.