mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
ec2: Fix linter error with len(tags)>0
This commit is contained in:
parent
b451c81348
commit
92a3b5c079
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class EBSVolume(Volume):
|
|||
'AvailabilityZone': zone,
|
||||
'VolumeType': 'gp2',
|
||||
}
|
||||
if len(tags) > 0:
|
||||
if tags:
|
||||
params['TagSpecifications'] = [{'ResourceType': 'volume', 'Tags': tags}]
|
||||
|
||||
if e.encrypted:
|
||||
|
|
Loading…
Add table
Reference in a new issue