Skip to content

Commit

Permalink
updated TestLoadConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
PAKalucki committed Sep 11, 2024
1 parent f5abfe4 commit cb5e42c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
func TestLoadConfig(t *testing.T) {
yamlContent := `
logs:
- path: "/path/to/log/*.log"
type: delete
- path:
- "/path/to/log1/*.log"
- "/path/to/log2/*.log"
type: rotate
condition:
size: "100MB"
- path: "/path/to/log/*.log"
type: delete
- path:
- "/path/to/log1/*.log"
- "/path/to/log2/*.log"
type: rotate
condition:
size: "100MB"
schedule: "*/5 * * * *"
`

Expand Down

0 comments on commit cb5e42c

Please sign in to comment.