Skip to content

Commit cf4d0d2

Browse files
QinYuuuuDev Agent
andauthored
fix: PVC name in lowercase (#635)
Co-authored-by: Dev Agent <[email protected]>
1 parent c59161b commit cf4d0d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runner/component/service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ func (s *serviceComponentImpl) runServiceSingleHost(ctx context.Context, req typ
10701070
if req.DeployType == types.InferenceType {
10711071
pvcName = req.UserID
10721072
}
1073+
pvcName = strings.ToLower(pvcName)
10731074
// add pvc if possible
10741075
// space image was built from user's code, model cache dir is hard to control
10751076
// so no PV cache for space case so far

0 commit comments

Comments
 (0)