bundles: code style improvements
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
2af911c29f
commit
f52df58517
24 changed files with 80 additions and 95 deletions
|
@ -22,7 +22,7 @@ defaults = {
|
|||
def zfs_disks_to_metadata(metadata):
|
||||
disks = set()
|
||||
|
||||
for pool, config in metadata.get('zfs/pools', {}).items():
|
||||
for _, config in metadata.get('zfs/pools', {}).items():
|
||||
if 'device' in config:
|
||||
disks.add(config['device'])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue