(client: Any, image_name: str)
| 1354 | |
| 1355 | |
| 1356 | def image_exists(client: Any, image_name: str) -> bool: |
| 1357 | try: |
| 1358 | client.images.get(image_name) |
| 1359 | except ImageNotFound: |
| 1360 | return False |
| 1361 | else: |
| 1362 | return True |
| 1363 | |
| 1364 | |
| 1365 | def update_layer_status(layers_info: dict[str, str], layer_id: str, layer_status: str) -> None: |