Skip to content

Commit c87d8dd

Browse files
authored
docs(cockpit): rephrase deprecation notes to fix lint error (#2807)
1 parent 596dc18 commit c87d8dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/cockpit/v1/cockpit_sdk.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ func (s *GlobalAPI) GetGrafanaProductDashboard(req *GlobalAPIGetGrafanaProductDa
17631763
}
17641764

17651765
// Deprecated: ListPlans: Retrieve a list of available pricing plan types.
1766-
// Deprecated: retention is now managed at the data source level.
1766+
// Deprecated due to retention now being managed at the data source level.
17671767
func (s *GlobalAPI) ListPlans(req *GlobalAPIListPlansRequest, opts ...scw.RequestOption) (*ListPlansResponse, error) {
17681768
var err error
17691769

@@ -1793,7 +1793,7 @@ func (s *GlobalAPI) ListPlans(req *GlobalAPIListPlansRequest, opts ...scw.Reques
17931793
}
17941794

17951795
// Deprecated: SelectPlan: Apply a pricing plan on a given Project. You must specify the ID of the pricing plan type. Note that you will be billed for the plan you apply.
1796-
// Deprecated: retention is now managed at the data source level.
1796+
// Deprecated due to retention now being managed at the data source level.
17971797
func (s *GlobalAPI) SelectPlan(req *GlobalAPISelectPlanRequest, opts ...scw.RequestOption) (*Plan, error) {
17981798
var err error
17991799

@@ -1822,7 +1822,7 @@ func (s *GlobalAPI) SelectPlan(req *GlobalAPISelectPlanRequest, opts ...scw.Requ
18221822
}
18231823

18241824
// Deprecated: GetCurrentPlan: Retrieve a pricing plan for the given Project, specified by the ID of the Project.
1825-
// Deprecated: retention is now managed at the data source level.
1825+
// Deprecated due to retention now being managed at the data source level.
18261826
func (s *GlobalAPI) GetCurrentPlan(req *GlobalAPIGetCurrentPlanRequest, opts ...scw.RequestOption) (*Plan, error) {
18271827
var err error
18281828

0 commit comments

Comments
 (0)