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
|
@ -26,7 +26,7 @@ defaults = {
|
|||
def get_default_interface(metadata):
|
||||
interfaces = sorted(metadata.get('interfaces', {}).keys())
|
||||
|
||||
if len(interfaces):
|
||||
if interfaces:
|
||||
return {
|
||||
'vnstat': {
|
||||
'interface': interfaces[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue