Skip to content

Commit

Permalink
fix typo: inert -> insert (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
shigechika authored and kotakanbe committed Dec 14, 2017
1 parent a64c5fc commit fad7cfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/fetchjvn.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (p *FetchJvnCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface

log.Infof("Inserting JVN into DB (%s).", driver.Name())
if err := driver.InsertJvn(items); err != nil {
log.Fatalf("Failed to inert. dbpath: %s, err: %s", c.Conf.DBPath, err)
log.Fatalf("Failed to insert. dbpath: %s, err: %s", c.Conf.DBPath, err)
return subcommands.ExitFailure
}
return subcommands.ExitSuccess
Expand Down
2 changes: 1 addition & 1 deletion commands/fetchnvd.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (p *FetchNvdCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface

log.Infof("Inserting NVD into DB (%s).", driver.Name())
if err := driver.InsertNvd(entries); err != nil {
log.Errorf("Failed to inert. dbpath: %s, err: %s",
log.Errorf("Failed to insert. dbpath: %s, err: %s",
c.Conf.DBPath, err)
return subcommands.ExitFailure
}
Expand Down

0 comments on commit fad7cfc

Please sign in to comment.