From f8fe411d8aaa4696334bad215a74370a263b756a Mon Sep 17 00:00:00 2001 From: Ilyes512 Date: Sat, 28 Jul 2018 00:16:07 +0200 Subject: [PATCH] Fixed missing formatting directive --- pkg/template/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/template/functions.go b/pkg/template/functions.go index 62ad82c..2bd68cf 100644 --- a/pkg/template/functions.go +++ b/pkg/template/functions.go @@ -96,7 +96,7 @@ var ( generator, err := password.NewGenerator(&password.GeneratorInput{Symbols: customSymbols}) if err != nil { - return fmt.Sprintf("failed to generate password generator", err) + return fmt.Sprintf("failed to generate password generator: %s", err) } res, err := generator.Generate(length, numDigits, numSymbols, noUpper, allowRepeat)