From b62af544f4747fad2b1e77cbd298347a7a42a3bb Mon Sep 17 00:00:00 2001 From: Matthew Long Date: Fri, 5 Jul 2024 11:36:44 +0100 Subject: [PATCH] chore: suggestions from pull request --- service/fixed/plans/plan_subscriptions/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/fixed/plans/plan_subscriptions/service.go b/service/fixed/plans/plan_subscriptions/service.go index 33e1ca6..5ea8615 100644 --- a/service/fixed/plans/plan_subscriptions/service.go +++ b/service/fixed/plans/plan_subscriptions/service.go @@ -26,7 +26,7 @@ func NewAPI(client HttpClient, logger Log) *API { return &API{client: client, logger: logger} } -// List will list all subscriptions with a specific plan +// List will list all plans upgradable from a given subscription func (a *API) List(ctx context.Context, id int) ([]*plans.GetPlanResponse, error) { var response plans.ListPlansResponse @@ -36,7 +36,7 @@ func (a *API) List(ctx context.Context, id int) ([]*plans.GetPlanResponse, error return nil, err } - a.logger.Printf("Listing fixed plans, all cloud providers, there are %d available", len(response.Plans)) + a.logger.Printf("Listing fixed plans applicable to subscription %d, there are %d available", id, len(response.Plans)) return response.Plans, nil }