diff --git a/daemons/compute/server/servers/server_default.go b/daemons/compute/server/servers/server_default.go index a796e6cd..a842c70d 100644 --- a/daemons/compute/server/servers/server_default.go +++ b/daemons/compute/server/servers/server_default.go @@ -803,7 +803,14 @@ func (s *defaultServer) findRabbitRelativeSource(ctx context.Context, computeMou for _, clientMount := range clientMounts.Items { for _, mount := range clientMount.Spec.Mounts { if *computeMountInfo.Device.DeviceReference == *mount.Device.DeviceReference { - return mount.MountPath + strings.TrimPrefix(req.Source, computeMountInfo.MountPath), nil + log.Println("BLAKE ---------------------------------------") + log.Println("mount.MountPath: " + mount.MountPath) + log.Println("req.Source: " + req.Source) + log.Println("computeMountInfo.MountPath: " + computeMountInfo.MountPath) + ret := mount.MountPath + strings.TrimPrefix(req.Source, computeMountInfo.MountPath) + log.Println("ret: " + ret) + log.Println("---------------------------------------------") + return ret, nil } } }