Skip to content

Commit

Permalink
Remove dead method from gce_virtual_machine.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 597970738
  • Loading branch information
raymond13513 authored and copybara-github committed Jan 12, 2024
1 parent d7184be commit 13b1590
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions perfkitbenchmarker/providers/gcp/gce_virtual_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,10 +1103,6 @@ def _WaitUntilRunning(self):
elif not self.is_running_time:
self.is_running_time = time.time()

def _GenerateDiskNamePrefix(self, disk_spec_id, index):
"""Generates a deterministic disk name given disk_spec_id and index."""
return f'{self.name}-data-{disk_spec_id}-{index}'

def SetDiskSpec(self, disk_spec, disk_count):
"""Sets Disk Specs of the current VM. Calls before the VM is created."""
self.create_disk_strategy = gce_disk_strategies.GetCreateDiskStrategy(
Expand Down

0 comments on commit 13b1590

Please sign in to comment.