Skip to content

Commit

Permalink
rm encryptors
Browse files Browse the repository at this point in the history
  • Loading branch information
deniseli committed Aug 15, 2024
1 parent e086161 commit 92588fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions cmd/ftl/cmd_box_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ func (b *boxRunCmd) Run(ctx context.Context, projConfig projectconfig.Config) er
if err != nil {
return fmt.Errorf("failed to register DB metrics: %w", err)
}
encryptors, err := config.EncryptionKeys.Encryptors(false)
if err != nil {
return fmt.Errorf("failed to create encryptors: %w", err)
}

wg := errgroup.Group{}
wg.Go(func() error {
Expand Down
4 changes: 0 additions & 4 deletions cmd/ftl/cmd_serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ func (s *serveCmd) run(ctx context.Context, projConfig projectconfig.Config, ini
if err != nil {
return fmt.Errorf("failed to register DB metrics: %w", err)
}
encryptors, err := config.EncryptionKeys.Encryptors(false)
if err != nil {
return fmt.Errorf("failed to create encryptors: %w", err)
}

wg.Go(func() error {
if err := controller.Start(controllerCtx, config, runnerScaling, conn); err != nil {
Expand Down

0 comments on commit 92588fa

Please sign in to comment.