default waap path to /
This commit is contained in:
parent
1eab34eb3f
commit
a258cc0b4a
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func (wc *WaapSource) UnmarshalConfig(yamlConfig []byte) error {
|
|||
}
|
||||
|
||||
if wc.config.Path == "" {
|
||||
return fmt.Errorf("path cannot be empty")
|
||||
wc.config.Path = "/"
|
||||
}
|
||||
|
||||
if wc.config.Path[0] != '/' {
|
||||
|
|
Loading…
Reference in a new issue