mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Rename start() to run()
This commit is contained in:
parent
a13788073d
commit
1fda4ea6ee
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ func NewDelta(ctx context.Context, actual, desired <-chan contracts.Entity, subj
|
|||
logger: logger,
|
||||
}
|
||||
|
||||
go delta.start(ctx, actual, desired)
|
||||
go delta.run(ctx, actual, desired)
|
||||
|
||||
return delta
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ func (delta *Delta) Wait() error {
|
|||
return <-delta.done
|
||||
}
|
||||
|
||||
func (delta *Delta) start(ctx context.Context, actualCh, desiredCh <-chan contracts.Entity) {
|
||||
func (delta *Delta) run(ctx context.Context, actualCh, desiredCh <-chan contracts.Entity) {
|
||||
defer close(delta.done)
|
||||
|
||||
var update EntitiesById
|
||||
|
|
|
|||
Loading…
Reference in a new issue