mirror of https://github.com/ericonr/sbctl.git
list-*: Fixup linting
Signed-off-by: Morten Linderud <morten@linderud.pw>
This commit is contained in:
parent
9ff60964d5
commit
73be015150
|
@ -24,7 +24,8 @@ var listBundlesCmd = &cobra.Command{
|
|||
func(s *sbctl.Bundle) error {
|
||||
ok, err := sbctl.VerifyFile(sbctl.DBCert, s.Output)
|
||||
if err != nil {
|
||||
logging.Error(fmt.Errorf("%s: %w\n", s.Output, err))
|
||||
logging.Error(fmt.Errorf("%s: %w", s.Output, err))
|
||||
logging.Error(fmt.Errorf(""))
|
||||
return nil
|
||||
}
|
||||
logging.Println("Enrolled bundles:\n")
|
||||
|
|
|
@ -26,7 +26,8 @@ func RunList(_ *cobra.Command, args []string) error {
|
|||
func(s *sbctl.SigningEntry) error {
|
||||
ok, err := sbctl.VerifyFile(sbctl.DBCert, s.OutputFile)
|
||||
if err != nil {
|
||||
logging.Error(fmt.Errorf("%s: %w\n", s.OutputFile, err))
|
||||
logging.Error(fmt.Errorf("%s: %w", s.OutputFile, err))
|
||||
logging.Error(fmt.Errorf(""))
|
||||
return nil
|
||||
}
|
||||
logging.Println(s.File)
|
||||
|
|
Loading…
Reference in New Issue