Skip to content

Commit 6e7be74

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Change status of info log in example (#1414)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent f825b86 commit 6e7be74

5 files changed

+8
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-04-11 20:40:39.976360",
8-
"spec_repo_commit": "9b02c84d"
7+
"regenerated": "2023-04-14 08:32:57.088893",
8+
"spec_repo_commit": "318954bb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-04-11 20:40:39.989307",
13-
"spec_repo_commit": "9b02c84d"
12+
"regenerated": "2023-04-14 08:32:57.100596",
13+
"spec_repo_commit": "318954bb"
1414
}
1515
}
1616
}

examples/v2/logs/SubmitLog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
hostname="i-012345678",
1616
message="2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World",
1717
service="payment",
18-
status="error",
18+
status="info",
1919
),
2020
]
2121
)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-05-12T15:31:57.041Z
1+
2023-04-13T18:28:45.445Z

tests/v2/cassettes/test_scenarios/test_send_logs_returns_request_accepted_for_processing_always_202_empty_json_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: '[{"ddsource":"nginx","ddtags":"env:staging,version:5.1","hostname":"i-012345678","message":"2019-11-19T14:37:58,995
4-
INFO [process.name][20081] Hello World","service":"payment","status":"error"}]'
4+
INFO [process.name][20081] Hello World","service":"payment","status":"info"}]'
55
headers:
66
accept:
77
- application/json

tests/v2/features/logs.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ Feature: Logs
143143
@skip-go @team:DataDog/event-platform-intake @team:DataDog/logs-backend
144144
Scenario: Send logs returns "Request accepted for processing (always 202 empty JSON)." response
145145
Given new "SubmitLog" request
146-
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment", "status": "error"}]
146+
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment", "status": "info"}]
147147
When the request is sent
148148
Then the response status is 202 Request accepted for processing (always 202 empty JSON).

0 commit comments

Comments
 (0)