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 {
5757 #[ snafu( display( "failed to parse build arguments" ) ) ]
5858 ParseBuildArguments { source : ParseBuildArgumentsError } ,
5959
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 } ,
6262}
6363
6464#[ derive( Debug , Snafu ) ]
@@ -341,14 +341,14 @@ impl Bakefile {
341341 let containerfile_path = if let Some ( custom_path) = & image_options. containerfile {
342342 ensure ! (
343343 image_dir. exists( custom_path) ,
344- NoSuchContainerfileExistsSnafu
344+ NoSuchContainerfileExistsSnafu { path : image_name }
345345 ) ;
346346
347347 PathBuf :: new ( ) . join ( & image_name) . join ( custom_path)
348348 } else {
349349 ensure ! (
350350 image_dir. exists( & args. target_containerfile) ,
351- NoSuchContainerfileExistsSnafu
351+ NoSuchContainerfileExistsSnafu { path : image_name }
352352 ) ;
353353
354354 PathBuf :: new ( )
You can’t perform that action at this time.
0 commit comments