More interface implementation
This commit is contained in:
parent
17224b8ac0
commit
c11cbccb2d
1 changed files with 5 additions and 0 deletions
|
@ -344,3 +344,8 @@ func (l *LokiSource) ready() error {
|
|||
|
||||
return fmt.Errorf("Loki service %s is not ready", l.lokiReady)
|
||||
}
|
||||
|
||||
//SupportedModes returns the supported modes by the acquisition module
|
||||
func (l *LokiSource) SupportedModes() []string {
|
||||
return []string{configuration.TAIL_MODE, configuration.CAT_MODE}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue