Skip to content

Commit

Permalink
cmd/recovery: fix recoveryapi -> userapi
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jun 26, 2024
1 parent bc6626f commit 628e27d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cli/cmd/recover.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/edgelesssys/contrast/internal/fsstore"
"github.com/edgelesssys/contrast/internal/grpc/dialer"
"github.com/edgelesssys/contrast/internal/manifest"
"github.com/edgelesssys/contrast/internal/recoveryapi"
"github.com/edgelesssys/contrast/internal/userapi"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -101,8 +100,8 @@ func runRecover(cmd *cobra.Command, _ []string) error {
}
defer conn.Close()

client := recoveryapi.NewRecoveryAPIClient(conn)
req := &recoveryapi.RecoverRequest{
client := userapi.NewUserAPIClient(conn)
req := &userapi.RecoverRequest{
Seed: seed,
Salt: salt,
}
Expand Down

0 comments on commit 628e27d

Please sign in to comment.