Skip to content

Commit

Permalink
Fixed missing formatting directive
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilyes512 committed Jul 27, 2018
1 parent 8506e40 commit f8fe411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/template/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8fe411

Please sign in to comment.