Merge branch 'main' into llb-byow

This commit is contained in:
Jeff Mitchell committed 2022-05-13 17:05:36 -04:00
commit 2f06513a3a
105 files changed
+2716 -14710

No files matched your search

+1 -5
View File
@@ -210,11 +210,7 @@ func New(ctx context.Context, conf *Config) (*Controller, error) {
// Set up repo stuff
dbase := db.New(c.conf.Database)
kmsRepo, err := kms.NewRepository(dbase, dbase)
if err != nil {
return nil, fmt.Errorf("error creating kms repository: %w", err)
}
c.kms, err = kms.NewKms(kmsRepo)
c.kms, err = kms.New(ctx, dbase, dbase)
if err != nil {
return nil, fmt.Errorf("error creating kms cache: %w", err)
}