mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
16 lines
350 B
Go
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",
|
|
})
|
|
}
|