Skip to content

Commit

Permalink
Add debug option to polad
Browse files Browse the repository at this point in the history
  • Loading branch information
Motok1 committed Jun 12, 2024
1 parent 64a9a51 commit 746325c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/schemas/polad_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
},
"name": {
"type": "string"
},
"debug": {
"type": "boolean"
}
},
"required": [
Expand Down
5 changes: 3 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ type GrpcClient struct {
}

type Log struct {
Path string `yaml:"path"`
Name string `yaml:"name"`
Path string `yaml:"path"`
Name string `yaml:"name"`
Debug bool `yaml:"debug"`
}

type Gobgp struct {
Expand Down

0 comments on commit 746325c

Please sign in to comment.