Files
ironmount/internal/driver/create.go
Nicolas Meienberger fd91751673 feat: api
2025-08-10 20:17:25 +02:00

16 lines
350 B
Go

package driver
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/rs/zerolog/log"
)
func Create(c *gin.Context) {
log.Error().Msg("Volumes can only be created through the API, not the driver interface")
c.JSON(http.StatusMethodNotAllowed, gin.H{
"Err": "Volumes can only be created through the API, not the driver interface",
})
}