diff options
author | Scott Moser <smoser@brickies.net> | 2020-11-10 09:51:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 09:51:16 -0500 |
commit | 2730521fd566f855863c5ed049a1df26abcd0770 (patch) | |
tree | 2e42132a711888ebfc4117376a4577a33d0fe71a /packages | |
parent | 57349eb7df1c422d9e9558e54b201c85778997ae (diff) | |
download | vyos-cloud-init-2730521fd566f855863c5ed049a1df26abcd0770.tar.gz vyos-cloud-init-2730521fd566f855863c5ed049a1df26abcd0770.zip |
Fix stacktrace in DataSourceRbxCloud if no metadata disk is found (#632)
Largely speaking, ds-identify protects from this scenario being
hit, but if DataSourceRbxCloud ran and there was no metadata
disks found (LABEL=CLOUDMD), then it would stacktrace.
The fix is just to clean up the get_md function a little
bit, and the explicitly check for False as a return value in _get_data.
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions