rmv prints
This commit is contained in:
parent
1a85cb904c
commit
bc3f59a6ad
@ -769,13 +769,11 @@ func (s *Server) CreateBlobHandler(c *gin.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Println("path2", c.Param("digest"))
|
||||
path, err := GetBlobsPath(c.Param("digest"))
|
||||
if err != nil {
|
||||
c.AbortWithStatusJSON(http.StatusBadRequest, gin.H{"error": err.Error()})
|
||||
return
|
||||
}
|
||||
fmt.Println("path1", path)
|
||||
_, err = os.Stat(path)
|
||||
switch {
|
||||
case errors.Is(err, os.ErrNotExist):
|
||||
|
Loading…
x
Reference in New Issue
Block a user