Skip to content

Commit 7997819

Browse files
chore(serverless): deprecate /logs and /metrics endpoint (#1996)
Co-authored-by: Mia-Cross <[email protected]>
1 parent 0a6da18 commit 7997819

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/container/v1beta1/container_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ func (s *API) DeleteCron(req *DeleteCronRequest, opts ...scw.RequestOption) (*Cr
23142314
return &resp, nil
23152315
}
23162316

2317-
// ListLogs: List the logs of the container with the specified ID.
2317+
// Deprecated: ListLogs: Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the logs of the container with the specified ID.
23182318
func (s *API) ListLogs(req *ListLogsRequest, opts ...scw.RequestOption) (*ListLogsResponse, error) {
23192319
var err error
23202320

api/function/v1beta1/function_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2547,7 +2547,7 @@ func (s *API) DeleteCron(req *DeleteCronRequest, opts ...scw.RequestOption) (*Cr
25472547
return &resp, nil
25482548
}
25492549

2550-
// ListLogs: List the application logs of the function with the specified ID.
2550+
// Deprecated: ListLogs: Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the application logs of the function with the specified ID.
25512551
func (s *API) ListLogs(req *ListLogsRequest, opts ...scw.RequestOption) (*ListLogsResponse, error) {
25522552
var err error
25532553

0 commit comments

Comments
 (0)