Add String method to audit.Backend interface

This commit is contained in:
xuzhonghu
2018-07-18 17:35:08 +08:00
parent a00e3748d4
commit 416a478cf6
4 changed files with 17 additions and 0 deletions

View File

@@ -111,8 +111,14 @@ type auditSinkFunc func(events ...*auditinternal.Event)
func (f auditSinkFunc) ProcessEvents(events ...*auditinternal.Event) {
f(events...)
}
func (auditSinkFunc) Run(stopCh <-chan struct{}) error {
return nil
}
func (auditSinkFunc) Shutdown() {
}
func (auditSinkFunc) String() string {
return ""
}