From 96eaf055697552c8fde0ea69d5f3455df6916ed1 Mon Sep 17 00:00:00 2001 From: Andrew Hare Date: Thu, 9 May 2024 11:27:42 -0500 Subject: [PATCH] fix: Roll back service.go --- service.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/service.go b/service.go index 9c6c6066..20bbae2d 100644 --- a/service.go +++ b/service.go @@ -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") @@ -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 }