Skip to content
Merged
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
4 changes: 4 additions & 0 deletions plugins/ptp_operator/ptp_operator_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ func Start(wg *sync.WaitGroup, configuration *common.SCConfiguration, _ func(e i
log.Warn(err)
}
eventManager.SetInitalMetrics()
// We must attempt to get aliases here for the case of restarting cloud-event-proxy
// against an extablished linuxptp-daemon, which will have aliases already populated
// and log lines waiting in the buffer.
ptpMetrics.SyncAliasesFromDaemon()
wg.Add(1)
// create socket listener; the daemon sends log lines and CMD RESTART commands here.
// When a new connection is accepted, processMessages calls TriggerLogs() to request
Expand Down
Loading