Skip to content

Commit

Permalink
Update the placeholder image name.
Browse files Browse the repository at this point in the history
  • Loading branch information
progala committed Jul 25, 2024
1 parent 370b511 commit 3d2d553
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def _create_placeholder_software_images(apps):
software_version = SoftwareVersion.objects.get(id=soft)
device_type = DeviceType.objects.get(id=dt)
image_soft_and_dt = f"{slugify(software_version.version)}-{slugify(device_type.model)}"[:242]
image_file_name = f"{image_soft_and_dt}-placeholder"
image_file_name = f"{image_soft_and_dt}-dlm-migrations-placeholder"
if SoftwareImageFile.objects.filter(software_version=soft, device_types=dt).exists():
continue
if SoftwareImageFile.objects.filter(image_file_name=image_file_name).exists():
Expand Down

0 comments on commit 3d2d553

Please sign in to comment.