More interface implementation

This commit is contained in:
Mathieu Lecarme 2022-06-14 14:57:19 +02:00 committed by lperdereau
parent 17224b8ac0
commit c11cbccb2d

View file

@ -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}
}