summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2019-03-04 22:36:07 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-03-04 22:36:07 +0000
commit109772c2e9066f5ae53aa2806c4bb4a2ab6f4bff (patch)
tree838b2ab736e92a1ea9003ad5b73b9e5c284e29b0 /Makefile
parent5352dd99eb2937b4eaaaf596b40ad7ca69d87f64 (diff)
downloadvyos-cloud-init-109772c2e9066f5ae53aa2806c4bb4a2ab6f4bff.tar.gz
vyos-cloud-init-109772c2e9066f5ae53aa2806c4bb4a2ab6f4bff.zip
clean: correctly determine the path for excluding seed directory
Previously, init.paths.cloud_dir has a trailing slash, which meant that "/var/lib/cloud//seed" was being compared to "/var/lib/cloud/seed" and (of course), never matching. In this commit, switch to using os.path.join to avoid this case (and update the tests to catch it in future). LP: #1818571
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions