Skip to content

Commit

Permalink
chore: suggestions from pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
burythehammer committed Jul 5, 2024
1 parent 2ddd37a commit b62af54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/fixed/plans/plan_subscriptions/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
}

0 comments on commit b62af54

Please sign in to comment.