summaryrefslogtreecommitdiff
path: root/workhorse/internal/api/api.go
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-22 09:07:22 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-22 09:07:22 +0000
commit58e69d174512e267079ebb6afc60dd097070bf35 (patch)
treed7207e894f4813a57db661de9620b9f7728d1afb /workhorse/internal/api/api.go
parentf8edcff7e9aff93f8ac605c19e542204b0ed9ba2 (diff)
downloadgitlab-ce-58e69d174512e267079ebb6afc60dd097070bf35.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/internal/api/api.go')
-rw-r--r--workhorse/internal/api/api.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/workhorse/internal/api/api.go b/workhorse/internal/api/api.go
index 1758bb5a6a8..92e88ae3f70 100644
--- a/workhorse/internal/api/api.go
+++ b/workhorse/internal/api/api.go
@@ -98,6 +98,8 @@ type RemoteObject struct {
GetURL string
// DeleteURL is a presigned S3 RemoveObject URL
DeleteURL string
+ // Whether Workhorse needs to delete the temporary object or not.
+ SkipDelete bool
// StoreURL is the temporary presigned S3 PutObject URL to which upload the first found file
StoreURL string
// Boolean to indicate whether to use headers included in PutHeaders