mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2026-11-12 00:52:11 +01:00
feat(docker): update Dockerfile to include git and adjust file copying structure
fix(docs): update Garage image version in README and architecture documentation fix(e2e): change default Garage image version in e2e tests and improve directory handling fix(s3): skip adding inbox directory markers in S3 listing fix(main): set HTTP address argument correctly for the application
This commit is contained in:
@@ -133,7 +133,7 @@ func FieldsFromRecord(cfg *config.Config, record *core.Record) map[string]any {
|
||||
// DiffSnapshots reduces two snapshots to the keys whose value differs
|
||||
// between them: a key with the same value on both sides is omitted, a
|
||||
// key present on one side only is kept on that side (added or deleted
|
||||
field). It is the section-4 payload rule: before/after carry only what
|
||||
// field). It is the section-4 payload rule: before/after carry only what
|
||||
// the event changes.
|
||||
func DiffSnapshots(before, after Snapshot) (Snapshot, Snapshot) {
|
||||
keys := map[string]bool{}
|
||||
|
||||
@@ -68,6 +68,9 @@ func (c *Client) ListInbox(ctx context.Context) ([]InboxObject, error) {
|
||||
if obj.Err != nil {
|
||||
return nil, obj.Err
|
||||
}
|
||||
if strings.HasSuffix(obj.Key, "/") {
|
||||
continue
|
||||
}
|
||||
out = append(out, InboxObject{Key: obj.Key, Size: obj.Size, ETag: obj.ETag})
|
||||
}
|
||||
return out, nil
|
||||
|
||||
Reference in New Issue
Block a user