diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-08-23 21:34:36 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-08-23 21:34:36 -0400 |
commit | aab21187a193b541ff009003b7337042a1d9d5c9 (patch) | |
tree | b6355f15731c097756a407c40a3a3bbec2872c59 /cloudinit/sources/DataSourceConfigDrive.py | |
parent | 5d57d93ff5e505e081abf2ff98569aa00fe679da (diff) | |
download | vyos-cloud-init-aab21187a193b541ff009003b7337042a1d9d5c9.tar.gz vyos-cloud-init-aab21187a193b541ff009003b7337042a1d9d5c9.zip |
some more tests.
Diffstat (limited to 'cloudinit/sources/DataSourceConfigDrive.py')
-rw-r--r-- | cloudinit/sources/DataSourceConfigDrive.py | 2 |
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: |