aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages/vagrant/vagrant.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/vagrant/vagrant.go')
-rw-r--r--routers/api/packages/vagrant/vagrant.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/vagrant/vagrant.go b/routers/api/packages/vagrant/vagrant.go
index 7b76ab79b0..cefdc45b10 100644
--- a/routers/api/packages/vagrant/vagrant.go
+++ b/routers/api/packages/vagrant/vagrant.go
@@ -158,7 +158,7 @@ func UploadPackageFile(ctx *context.Context) {
defer upload.Close()
}
- buf, err := packages_module.CreateHashedBufferFromReader(upload, 32*1024*1024)
+ buf, err := packages_module.CreateHashedBufferFromReader(upload)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return