Skip to content

Commit

Permalink
Merge pull request #67 from arronwy/ubuntu
Browse files Browse the repository at this point in the history
client: Fix failed to pull ubuntu image from docker.io
  • Loading branch information
flavio authored Mar 17, 2023
2 parents 55721aa + 0036d93 commit f44124c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ impl Client {
if media_type != IMAGE_MANIFEST_MEDIA_TYPE
&& media_type != OCI_IMAGE_MEDIA_TYPE
&& media_type != IMAGE_MANIFEST_LIST_MEDIA_TYPE
&& media_type != OCI_IMAGE_INDEX_MEDIA_TYPE
{
return Err(OciDistributionError::UnsupportedMediaTypeError(media_type));
}
Expand Down

0 comments on commit f44124c

Please sign in to comment.