mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-02 04:50:49 +00:00
etcd: implement batch operations
- cache the operations internally in a list - Write() applies the list to etcd
This commit is contained in:
@@ -163,7 +163,7 @@ func (s *EtcDStorage) CreateBatch() database.Batch {
|
||||
return nil
|
||||
}
|
||||
return &EtcDBatch{
|
||||
db: s.db,
|
||||
s: s,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user