Skip to content

Commit

Permalink
Use db.Database interface in grpc server (#569)
Browse files Browse the repository at this point in the history
Signed-off-by: Micah Hausler <[email protected]>

## Description

Use the interface type instead of the concrete type

## Why is this needed

Prep work for Tink API using Kubernetes Resource Model

Fixes: 
N/A

## How Has This Been Tested?

Ran tests/verify locally

## How are existing users impacted? What migration steps/scripts do we need?

N/A

## Checklist:

I have:

- [x] updated the documentation and/or roadmap (if required)
- [x] added unit or e2e tests
- [x] provided instructions on how to upgrade
  • Loading branch information
mergify[bot] authored Dec 9, 2021
2 parents 6e66633 + 9ce724f commit b89f887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc-server/grpc_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type ConfigGRPCServer struct {
Facility string
TLSCert string
GRPCAuthority string
DB *db.TinkDB
DB db.Database
}

// SetupGRPC setup and return a gRPC server.
Expand Down

0 comments on commit b89f887

Please sign in to comment.