Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/github.com/elastic/ela…
Browse files Browse the repository at this point in the history
…stic-agent-libs-0.7.5
  • Loading branch information
jlind23 authored Mar 13, 2024
2 parents 8e05b77 + c383f30 commit 4b4c0fa
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: enhancement

# Change summary; a 80ish characters long description of the change.
summary: Allow level: trace for settings actions

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; a word indicating the component this changeset affects.
component:

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: 3350

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: https://github.com/owner/repo/1234
6 changes: 6 additions & 0 deletions internal/pkg/api/handleCheckin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ func TestConvertActionData(t *testing.T) {
raw: json.RawMessage(`{"log_level":"error"}`),
expect: Action_Data{json.RawMessage(`{"log_level":"error"}`)},
hasErr: false,
}, {
name: "settings action trace level",
aType: SETTINGS,
raw: json.RawMessage(`{"log_level":"trace"}`),
expect: Action_Data{json.RawMessage(`{"log_level":"trace"}`)},
hasErr: false,
}, {
name: "upgrade action",
aType: UPGRADE,
Expand Down
1 change: 1 addition & 0 deletions internal/pkg/api/openapi.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions model/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ components:
log_level:
type: string
enum:
- trace
- debug
- info
- warning
Expand Down
1 change: 1 addition & 0 deletions pkg/api/types.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b4c0fa

Please sign in to comment.