Skip to content

Commit

Permalink
Merge pull request #2099 from ogayot/oracular-log-add-boot-partition
Browse files Browse the repository at this point in the history
Oracular / storage: log disk-id in POST /storage/v2/add_boot_partition
  • Loading branch information
ogayot authored Oct 8, 2024
2 parents 1c4c995 + 699e0c3 commit 1a7a115
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 1a7a115

Please sign in to comment.