diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-04-23 16:50:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 16:50:20 -0400 |
commit | 7276aa5240b8cb84671a56d795d811f15dfba8e2 (patch) | |
tree | 9570ff6187b309904bf38edd9d0e55effbc173ab /.github | |
parent | c5b44e46c13b0940a30073dc36196e430f8d2acb (diff) | |
download | vyos-cloud-init-7276aa5240b8cb84671a56d795d811f15dfba8e2.tar.gz vyos-cloud-init-7276aa5240b8cb84671a56d795d811f15dfba8e2.zip |
distros: handle a potential mirror filtering error case (#328)
As written, it's possible that the first transformation for a mirror
hostname could be passed None if the parsed mirror URL didn't have a
hostname component, when the defined interface is that the
transformations will be passed strings.
This isn't an error currently, because the first transformation happens
to gracefully handle being passed None. It returns None, so the
pipeline processing ends there.
This was caught when testing out mypy on the cloud-init codebase.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions