internal/dis: Add 'watcher' component for infos
This commit is contained in:
parent
162b1d3d65
commit
8cfb23bed0
8 changed files with 132 additions and 33 deletions
|
|
@ -76,3 +76,9 @@ func (log *Logger) Add(export models.Export) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Observe writes the SnapshotLog into the given observation
|
||||
func (logger *Logger) Observe(flags component.ObservationFlags, observation *component.Observation) (err error) {
|
||||
observation.Backups, err = logger.For("")
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue