Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions manager/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,17 @@ func (r *Runner) Start() {
log.Printf("[ERR] (runner): %s", err)
r.ErrCh <- err
return
case err := <-r.vaultTokenWatcher.ServerErrCh():
// If we got a server error we push the error up the stack
log.Printf("[ERR] (runner) sending server error back to caller")
// Drain the error channel if anything already exists
select {
case <-r.ServerErrCh:
continue
default:
}
r.ServerErrCh <- err
goto OUTER

case tmpl := <-r.quiescenceCh:
// Remove the quiescence for this template from the map. This will force
Expand Down