diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-07-13 12:00:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 12:00:32 -0400 |
commit | 3cec3881062490727c5fff1b16b53f0176f976f0 (patch) | |
tree | a26576249a456556bfe2557d273af5192bd41985 /cloudinit/net/eni.py | |
parent | fecbd81889011e8a75badd18935297f3494fe485 (diff) | |
download | vyos-cloud-init-3cec3881062490727c5fff1b16b53f0176f976f0.tar.gz vyos-cloud-init-3cec3881062490727c5fff1b16b53f0176f976f0.zip |
cloudinit: remove global disable of pylint W0105 and fix errors (#480)
This includes a fix to a test that had a string concatenation issue, and
so was only testing a prefix of what was intended.
Diffstat (limited to 'cloudinit/net/eni.py')
-rw-r--r-- | cloudinit/net/eni.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py index b4c69457..13c041f3 100644 --- a/cloudinit/net/eni.py +++ b/cloudinit/net/eni.py @@ -483,10 +483,8 @@ class Renderer(renderer.Renderer): if searchdomains: lo['subnets'][0]["dns_search"] = (" ".join(searchdomains)) - ''' Apply a sort order to ensure that we write out - the physical interfaces first; this is critical for - bonding - ''' + # Apply a sort order to ensure that we write out the physical + # interfaces first; this is critical for bonding order = { 'loopback': 0, 'physical': 1, |