mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-14 08:36:45 +00:00
Update packages/k8s/src/k8s/utils.ts
This commit is contained in:
@@ -52,7 +52,7 @@ export function containerVolumes(
|
|||||||
'Volume mounts outside of the work folder are not supported'
|
'Volume mounts outside of the work folder are not supported'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
// sourcec volume path should be relative path
|
// source volume path should be relative path
|
||||||
sourceVolumePath = userVolume.sourceVolumePath.slice(
|
sourceVolumePath = userVolume.sourceVolumePath.slice(
|
||||||
workspacePath.length + 1
|
workspacePath.length + 1
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user