From 97b862de991ef6a2fc10357ac1456a54b2ca9a9f Mon Sep 17 00:00:00 2001 From: dbw7 Date: Fri, 20 Sep 2024 16:30:02 -0400 Subject: [PATCH] Update pkg/image/validation/elemental.go Co-authored-by: Atanas Dinov --- pkg/image/validation/elemental.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/image/validation/elemental.go b/pkg/image/validation/elemental.go index d5ca880c..afec4daa 100644 --- a/pkg/image/validation/elemental.go +++ b/pkg/image/validation/elemental.go @@ -46,7 +46,7 @@ func validateElementalDir(elementalConfigDir string) []FailedValidation { elementalConfigDirEntries, err := os.ReadDir(elementalConfigDir) if err != nil { failures = append(failures, FailedValidation{ - UserMessage: fmt.Sprintf("Elemental config directory could not be read: %s", err), + UserMessage: "Elemental config directory could not be read", Error: err, }) }