Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
r4victor committed Dec 26, 2024
1 parent 4141be9 commit a8d046f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dstack/_internal/core/backends/gcp/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def register_volume(self, volume: Volume) -> VolumeProvisioningData:
disk_type=gcp_resources.full_resource_name_to_name(disk.type_),
).json(),
)
raise ComputeError("Persistent disk %s not found", volume.configuration.volume_id)
raise ComputeError(f"Persistent disk {volume.configuration.volume_id} not found")

def create_volume(self, volume: Volume) -> VolumeProvisioningData:
zone = gcp_resources.get_availability_zone(
Expand Down

0 comments on commit a8d046f

Please sign in to comment.