From aab21187a193b541ff009003b7337042a1d9d5c9 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 23 Aug 2012 21:34:36 -0400 Subject: some more tests. --- cloudinit/sources/DataSourceConfigDrive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit') 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: -- cgit v1.2.3