Skip to content

Commit 9d682cc

Browse files
committed
fix
1 parent 1da9901 commit 9d682cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/containerregistry/azure-containerregistry/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ with ContainerRegistryClient(self.endpoint, self.credential) as client:
141141
manifest_count += 1
142142
if manifest_count > 3:
143143
# Make sure will have the permission to delete the manifest later
144-
client.update_manifest_properties(repository, manifest.digest, can_write=True, can_delete=True)
144+
client.update_manifest_properties(repository, manifest.digest, can_write=True, can_delete=True) # type: ignore[arg-type]
145145
print(f"Deleting {repository}:{manifest.digest}")
146-
client.delete_manifest(repository, manifest.digest)
146+
client.delete_manifest(repository, manifest.digest) # type: ignore[arg-type]
147147
```
148148

149149
<!-- END SNIPPET -->

sdk/containerregistry/azure-containerregistry/samples/sample_delete_images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ def delete_images(self):
5353
manifest_count += 1
5454
if manifest_count > 3:
5555
# Make sure will have the permission to delete the manifest later
56-
client.update_manifest_properties(repository, manifest.digest, can_write=True, can_delete=True)
56+
client.update_manifest_properties(repository, manifest.digest, can_write=True, can_delete=True) # type: ignore[arg-type]
5757
print(f"Deleting {repository}:{manifest.digest}")
58-
client.delete_manifest(repository, manifest.digest)
58+
client.delete_manifest(repository, manifest.digest) # type: ignore[arg-type]
5959
# [END delete_manifests]
6060

6161

0 commit comments

Comments
 (0)