mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: add NFS volume type
This commit is contained in:
@@ -37,7 +37,10 @@ func SetupHandlers(router *gin.Engine) {
|
||||
return
|
||||
}
|
||||
|
||||
volume, status, err := volumeService.CreateVolume(req.Name)
|
||||
volume, status, err := volumeService.CreateVolume(volumes.VolumeCreateRequest{
|
||||
Name: req.Name,
|
||||
Type: volumes.VolumeBackendTypeLocal,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("Failed to create volume")
|
||||
|
||||
Reference in New Issue
Block a user