summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-08-23 21:34:36 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-23 21:34:36 -0400
commitaab21187a193b541ff009003b7337042a1d9d5c9 (patch)
treeb6355f15731c097756a407c40a3a3bbec2872c59 /cloudinit
parent5d57d93ff5e505e081abf2ff98569aa00fe679da (diff)
downloadvyos-cloud-init-aab21187a193b541ff009003b7337042a1d9d5c9.tar.gz
vyos-cloud-init-aab21187a193b541ff009003b7337042a1d9d5c9.zip
some more tests.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/DataSourceConfigDrive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py
index cba499e4..1b10bc1e 100644
--- a/cloudinit/sources/DataSourceConfigDrive.py
+++ b/cloudinit/sources/DataSourceConfigDrive.py
@@ -203,7 +203,7 @@ def read_config_drive_dir_v2(source_dir, version="latest"):
raise BrokenConfigDriveDir("failed to read: %s" % fpath)
found = True
elif required:
- raise BrokenConfigDriveDir("missing mandatory %s" % fpath)
+ raise NonConfigDriveDir("missing mandatory %s" % fpath)
if found and process:
try: