INNER CODE UNIT · Go
runUpdatesWithNotifications
nicholas-fedor/watchtower · cmd/root.go:551
runUpdatesWithNotifications = func(ctx context.Context, filter types.Filter, params types.UpdateParams) *metrics.Metric {
update := params
if filter != nil {
update.Filter = filter
}
if update.CurrentContainerID == "" {
update.CurrentContainerID = currentWatchtowerContainerID
}
return actions.RunUpdatesWithNotifications(ctx, actions.RunUpdatesWithNotificationsParams{
Logger: p.log,
Client: client,
Notifier: notifier,
NotificationSplitByContainer: appCfg.Notify.SplitByContainer,
NotificationReport: appCfg.Notify.Report,
EventBroadcaster: eventsBroadcaster,
Update: update,