Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amanjpro committed Nov 27, 2024
1 parent 2e8dfd5 commit 1a7a74c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cmd/cli/pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ func (c *pairConfig) hashEncryt(ctx context.Context, input string) (err error) {
if err != nil {
return fmt.Errorf("bucket.NewBucketCompleter: %w", err)
}
hasCompleted, err := bucketCompleter.HasCompleted(ctx)
if err != nil {
return fmt.Errorf("completionChecker.Check: %w", err)
return fmt.Errorf("bucketCompleter.HasCompleted: %w", err)
}
hasCompleted, err := bucketCompleter.HasCompleted(ctx)
if hasCompleted {
// nothing to do if the advertiser data has pushed the data
return nil
Expand Down Expand Up @@ -154,7 +154,7 @@ func (c *pairConfig) reEncrypt(ctx context.Context, publisherPAIRIDsPath string)

hasCompleted, err := bucketCompleter.HasCompleted(ctx)
if err != nil {
return fmt.Errorf("completionChecker.Check: %w", err)
return fmt.Errorf("bucketCompleter.HasCompleted: %w", err)
}
if hasCompleted {
// nothing to do if the advertiser data has pushed the data
Expand Down

0 comments on commit 1a7a74c

Please sign in to comment.