Skip to content

Commit

Permalink
adding missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Kanchwala committed Jul 1, 2021
1 parent d83c6b1 commit 4ba3060
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/k8s/dblogs/webhook-scan-logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func (g *WebhookScanLogger) initDBIfNeeded() error {

if _, err := statement.Exec(); err != nil {
zap.S().Errorf("failed to create logs table, error: '%v'", err)
return err
}
}

Expand Down

0 comments on commit 4ba3060

Please sign in to comment.