mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #73] [MERGED] Wait for completion on upload #210
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/73
Author: @carlpett
Created: 1/4/2020
Status: ✅ Merged
Merged: 1/16/2020
Merged by: @ggongaware
Base:
master← Head:wait-for-upload-completion📝 Commits (1)
d3b7e09Wait for completion on upload📊 Changes
1 file changed (+17 additions, -2 deletions)
View changed files
📝
proxmox/client.go(+17 -2)📄 Description
When uploading files, Proxmox first saves them to a temporary location, and then moves them to the final directory. During the time it is moving the file, other API requests may fail. For big files, this can take several minutes.
This PR makes
client.Uploadwait for the move file task to finish before returning.cc @ggongaware
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.