diff options
| author | 2026-03-31 02:09:47 +0000 | |
|---|---|---|
| committer | 2026-03-31 02:14:33 +0000 | |
| commit | 6634953afb1af520ed6e523d96e58031b55058ac (patch) | |
| tree | d670a2eb9af032ec8d33f933e48a78135bffceea /ref/store/files/batch_apply.go | |
| parent | *: Fix lints (diff) | |
| signature | No signature | |
ref/store: Shape Batch a bit more like Transaction and eagerly validate what we could.
Diffstat (limited to 'ref/store/files/batch_apply.go')
| -rw-r--r-- | ref/store/files/batch_apply.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ref/store/files/batch_apply.go b/ref/store/files/batch_apply.go index b4be9079..1847b544 100644 --- a/ref/store/files/batch_apply.go +++ b/ref/store/files/batch_apply.go @@ -13,14 +13,6 @@ func (batch *Batch) Apply() ([]refstore.BatchResult, error) { for i, op := range batch.ops { results[i].Name = op.name - err := executor.validateQueuedUpdate(op) - if err != nil { - results[i].Status = refstore.BatchStatusRejected - results[i].Error = batchResultError(err) - - continue - } - target, err := executor.resolveQueuedUpdateTarget(op) if err != nil { if isBatchRejected(err) { |
