Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Jung <[email protected]>
  • Loading branch information
justinjung04 committed Nov 30, 2023
1 parent c0252f1 commit b6eb74d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/config-file-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5061,10 +5061,10 @@ otel:
### `QueryAttribute`

```yaml
# Regex that the query string should match. If not set, it won't be checked.'
# Regex that the query string should match. If not set, it won't be checked.
[regex: <string> | default = ""]
# Time window that the query should be within. If not set, it won't be checked.'
# Time window that the query should be within. If not set, it won't be checked.
time_window:
# Start of the time window that the query should be within. If set to 0, it
# won't be checked.
Expand Down
4 changes: 2 additions & 2 deletions pkg/util/validation/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ type PriorityDef struct {
}

type QueryAttribute struct {
Regex string `yaml:"regex" json:"regex" doc:"nocli|description=Regex that the query string should match. If not set, it won't be checked.'"`
TimeWindow TimeWindow `yaml:"time_window" json:"time_window" doc:"nocli|description=Time window that the query should be within. If not set, it won't be checked.'"`
Regex string `yaml:"regex" json:"regex" doc:"nocli|description=Regex that the query string should match. If not set, it won't be checked."`
TimeWindow TimeWindow `yaml:"time_window" json:"time_window" doc:"nocli|description=Time window that the query should be within. If not set, it won't be checked."`
CompiledRegex *regexp.Regexp
}

Expand Down

0 comments on commit b6eb74d

Please sign in to comment.