File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ pub enum Error {
57
57
#[ snafu( display( "failed to parse build arguments" ) ) ]
58
58
ParseBuildArguments { source : ParseBuildArgumentsError } ,
59
59
60
- #[ snafu( display( "failed to locate containerfile relative to the image folder " ) ) ]
61
- NoSuchContainerfileExists ,
60
+ #[ snafu( display( "failed to locate containerfile relative to the {path:?} directory " ) ) ]
61
+ NoSuchContainerfileExists { path : String } ,
62
62
}
63
63
64
64
#[ derive( Debug , Snafu ) ]
@@ -341,14 +341,14 @@ impl Bakefile {
341
341
let containerfile_path = if let Some ( custom_path) = & image_options. containerfile {
342
342
ensure ! (
343
343
image_dir. exists( custom_path) ,
344
- NoSuchContainerfileExistsSnafu
344
+ NoSuchContainerfileExistsSnafu { path : image_name }
345
345
) ;
346
346
347
347
PathBuf :: new ( ) . join ( & image_name) . join ( custom_path)
348
348
} else {
349
349
ensure ! (
350
350
image_dir. exists( & args. target_containerfile) ,
351
- NoSuchContainerfileExistsSnafu
351
+ NoSuchContainerfileExistsSnafu { path : image_name }
352
352
) ;
353
353
354
354
PathBuf :: new ( )
You can’t perform that action at this time.
0 commit comments