Skip to content

Commit 0a56938

Browse files
fix(cockpit): add small precisions in documentation (scaleway#2576)
Co-authored-by: Mia-Cross <[email protected]>
1 parent 6c07829 commit 0a56938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/cockpit/v1/cockpit_sdk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ type RegionalAPIListAlertsRequest struct {
13141314
// Default value: unknown_state
13151315
State *AlertState `json:"-"`
13161316

1317-
// DataSourceID: if omitted, only alerts from the default scaleway data source will be listed.
1317+
// DataSourceID: if omitted, only alerts from the default Scaleway metrics data source will be listed.
13181318
DataSourceID *string `json:"-"`
13191319
}
13201320

@@ -2453,7 +2453,7 @@ func (s *RegionalAPI) DeleteContactPoint(req *RegionalAPIDeleteContactPointReque
24532453
return nil
24542454
}
24552455

2456-
// ListAlerts: List preconfigured and/or custom alerts for the specified Project.
2456+
// ListAlerts: List preconfigured and/or custom alerts for the specified Project and data source.
24572457
func (s *RegionalAPI) ListAlerts(req *RegionalAPIListAlertsRequest, opts ...scw.RequestOption) (*ListAlertsResponse, error) {
24582458
var err error
24592459

0 commit comments

Comments
 (0)