summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
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: