From 8909f1d1b8ad07103a6fc621f0ff234b19df1281 Mon Sep 17 00:00:00 2001 From: Sarah Roberts Date: Wed, 29 May 2024 15:19:04 -0700 Subject: [PATCH] re-inserted some subsequent changes after reverting a commit --- internal/volumes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/volumes.go b/internal/volumes.go index d44f121..ffd0fc0 100644 --- a/internal/volumes.go +++ b/internal/volumes.go @@ -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 @@ -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, },