[DEL] remove slash

This commit is contained in:
GLYASAI 2018-12-12 18:05:58 +08:00
parent 2ec51d5a7e
commit 3727642049

View File

@ -336,7 +336,7 @@ func createVolumes(as *v1.AppService, version *dbmodel.VersionInfo, dbmanager db
if version.DeliveredType == "slug" {
//slug host path already is windows style
slugPath := path.Dir(version.DeliveredPath)
vd.SetVolume(dbmodel.ShareFileVolumeType, "slug", "/tmp/slug/", slugPath, true)
vd.SetVolume(dbmodel.ShareFileVolumeType, "slug", "/tmp/slug", slugPath, true)
}
return vd, nil
}