b2: fix "fatal error: concurrent map writes" - fixes #8355

This was caused by the embryonic metadata support. Since this isn't
actually visible externally, this patch removes it for the time being.
This commit is contained in:
Nick Craig-Wood
2025-02-02 11:14:38 +00:00
parent 0ef495fa76
commit 3daf62cf3d
2 changed files with 7 additions and 24 deletions

View File

@@ -258,12 +258,6 @@ func (f *Fs) internalTestMetadata(t *testing.T, size string, uploadCutoff string
assert.Equal(t, v, got, k)
}
// mtime
for k, v := range metadata {
got := o.meta[k]
assert.Equal(t, v, got, k)
}
assert.Equal(t, mimeType, gotMetadata.ContentType, "Content-Type")
// Modification time from the x-bz-info-src_last_modified_millis header