Skip to content

Commit

Permalink
Merge pull request #2098 from ogayot/add_boot_partition_log
Browse files Browse the repository at this point in the history
storage: log disk-id in POST /storage/v2/add_boot_partition
  • Loading branch information
ogayot authored Oct 8, 2024
2 parents c56f96a + de5356b commit f88ef0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subiquity/server/controllers/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ async def v2_reformat_disk_POST(self, data: ReformatDisk) -> StorageResponseV2:
return await self.v2_GET()

async def v2_add_boot_partition_POST(self, disk_id: str) -> StorageResponseV2:
log.debug("v2_add_boot_partition: disk-id: %s", disk_id)
self.locked_probe_data = True
disk = self.model._one(id=disk_id)
if boot.is_boot_device(disk):
Expand Down

0 comments on commit f88ef0f

Please sign in to comment.