diff options
author | James Falcon <TheRealFalcon@users.noreply.github.com> | 2021-03-08 14:09:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 14:09:47 -0600 |
commit | 9bd19645a61586b82e86db6f518dd05c3363b17f (patch) | |
tree | 419181fe1aab057b312d727e260d8efc4b641ee5 /cloudinit/sources/DataSourceIBMCloud.py | |
parent | 6fe99157876f83ae2249d44c1b456a24cc70e258 (diff) | |
download | vyos-cloud-init-9bd19645a61586b82e86db6f518dd05c3363b17f.tar.gz vyos-cloud-init-9bd19645a61586b82e86db6f518dd05c3363b17f.zip |
Fix requiring device-number on EC2 derivatives (#836)
#342 (70dbccbb) introduced the ability to determine route-metrics based on
the `device-number` provided by the EC2 IMDS. Not all datasources that
subclass EC2 will have this attribute, so allow the old behavior if
`device-number` is not present.
LP: #1917875
Diffstat (limited to 'cloudinit/sources/DataSourceIBMCloud.py')
0 files changed, 0 insertions, 0 deletions