MCPcopy
hub / github.com/grafana/tempo / readError

Function readError

tempodb/backend/s3/s3.go:786–791  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

784}
785
786func readError(err error) error {
787 if err != nil && minio.ToErrorResponse(err).Code == minio.NoSuchKey {
788 return backend.ErrDoesNotExist
789 }
790 return err
791}
792
793func parseKMSEncryptionContext(data string) (map[string]string, error) {
794 if data == "" {

Callers 5

CompactedBlockMetaMethod · 0.70
ReadMethod · 0.70
ReadRangeMethod · 0.70
ReadVersionedMethod · 0.70
TestReadErrorFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestReadErrorFunction · 0.56