Skip to content

Commit

Permalink
fix(staged-dockerfile): broken error message
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov authored and distorhead committed Oct 27, 2022
1 parent e767013 commit 4dea6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/stage/instruction/add.go
Expand Up @@ -77,7 +77,7 @@ func calculateBuildContextGlobsChecksum(ctx context.Context, fileGlobs []string,
var matches []string
for _, globStat := range globStats {
if globStat.Error != "" {
return "", fmt.Errorf("unable to stat glob %q: %w", globStat.Glob, globStat.Error)
return "", fmt.Errorf("unable to stat glob %q: %s", globStat.Glob, globStat.Error)
}

for _, match := range globStat.Globbed {
Expand Down

0 comments on commit 4dea6b3

Please sign in to comment.