浏览代码

rmv prints

Josh Yan 10 月之前
父节点
当前提交
d4ab994ade
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      server/routes.go

+ 0 - 2
server/routes.go

@@ -927,13 +927,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):