Browse Source

Just return the id; nothing else.

Mark Allen 11 năm trước cách đây
mục cha
commit
62f873aa1f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      server.go

+ 1 - 1
server.go

@@ -229,7 +229,7 @@ func (srv *Server) ImageInsert(name, url, path string, out io.Writer, sf *utils.
 	if err != nil {
 		return err
 	}
-	out.Write(sf.FormatStatus(img.ID, "Image created"))
+	out.Write(sf.FormatStatus(img.ID, ""))
 	return nil
 }