diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-10-20 17:13:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 15:13:37 -0600 |
commit | 5f8a2bbc5f26c7abafbc9bd3d1b1b655ffdcc1ae (patch) | |
tree | dd1f2283049c257cae78f7fcb8d68276a77442b7 /cloudinit/safeyaml.py | |
parent | 468aede1384a5ba25c11a27db4e3e4b3f7b8e8b2 (diff) | |
download | vyos-cloud-init-5f8a2bbc5f26c7abafbc9bd3d1b1b655ffdcc1ae.tar.gz vyos-cloud-init-5f8a2bbc5f26c7abafbc9bd3d1b1b655ffdcc1ae.zip |
cc_mounts: correctly fallback to dd if fallocate fails (#585)
`create_swap()` was previously catching and not re-raising the
ProcessExecutionError that indicated swap creation failure; this meant
that the fallback logic could never be triggered.
This commit adds the required re-raise (as well as removing a duplicated
log message).
LP: #1897099
Diffstat (limited to 'cloudinit/safeyaml.py')
0 files changed, 0 insertions, 0 deletions