diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-24 13:05:34 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-24 13:05:34 +0300 |
commit | 6b49457451b567addf3a5a37c30f1b69f9dfd693 (patch) | |
tree | 7ddd7fa6f5a326a8faad9b03d2bd4dfbbb9ba0de /src | |
parent | bb93ad706f3719771d8086877ef9496c53f2bcbc (diff) | |
download | vmadm-6b49457451b567addf3a5a37c30f1b69f9dfd693.tar.gz |
fix: give correct error for missing image for a spec
Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r-- | src/spec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spec.rs b/src/spec.rs index e98377c..85a3ae9 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -69,7 +69,7 @@ impl OneVmInputSpecification { get( &self.image, &default_image, - SpecificationError::NoBaseImage(name.to_string()), + SpecificationError::NoImage(name.to_string()), ) } |