You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The performance of this check is slow since it checks the media type after fetching the blob. if len(remoteOpts.SignatureMediaTypes) != 0 && !slices.Contains(remoteOpts.SignatureMediaTypes, sigDesc.MediaType)
patrickzheng200
changed the title
checking the media type after fetching the blob is slow
Check the media type after fetching the blob is slow
Nov 23, 2022
patrickzheng200
changed the title
Check the media type after fetching the blob is slow
Checking the media type after fetching the blob is slow
Nov 23, 2022
The performance of this check is slow since it checks the media type after fetching the blob.
if len(remoteOpts.SignatureMediaTypes) != 0 && !slices.Contains(remoteOpts.SignatureMediaTypes, sigDesc.MediaType)
Originally posted by @shizhMSFT in #208 (comment)
The text was updated successfully, but these errors were encountered: