Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Apr 24, 2024
1 parent 8978c7d commit 381b1b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion database/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
type (
// config represents the settings required to create the engine that implements the BuildInterface interface.
config struct {
// specifies the encryption key to use for the Repo engine
// specifies the encryption key to use for the Build engine
EncryptionKey string
// specifies to skip creating tables and indexes for the Build engine
SkipCreation bool
Expand Down
2 changes: 0 additions & 2 deletions database/build/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ func (e *engine) GetBuild(ctx context.Context, id int64) (*api.Build, error) {
err = b.Repo.Decrypt(e.config.EncryptionKey)
if err != nil {
e.logger.Errorf("unable to decrypt repo: %v", err)

return b.ToAPI(), nil
}

return b.ToAPI(), nil
Expand Down

0 comments on commit 381b1b4

Please sign in to comment.