Skip to content

Commit

Permalink
fix: Roll back service.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hare committed May 9, 2024
1 parent e680fa2 commit 96eaf05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ func NewService(ctx context.Context,
bus pubsub.Bus,
cclient cluster.Client,
waiter waiter.OperatorWaiter,
cfg Config,
) (Service, error) {
cfg Config) (Service, error) {
ctx, cancel := context.WithCancel(ctx)

session = session.ForModule("provider-service")
Expand Down Expand Up @@ -268,7 +267,7 @@ func (s *service) Validate(ctx context.Context, owner sdk.Address, gspec dtypes.
// return ValidateGroupSpecResult{}, err
// }

price, err := s.config.BidPricingStrategy.CalculatePrice(ctx, req, nil)
price, err := s.config.BidPricingStrategy.CalculatePrice(ctx, req)
if err != nil {
return ValidateGroupSpecResult{}, err
}
Expand Down

0 comments on commit 96eaf05

Please sign in to comment.