Files
velero/changelogs
Tiger Kaovilai 5c4c66bee9 Add controller name to periodical_enqueue_source
The code changes are related to the `NewPeriodicalEnqueueSource` function in the `kube/periodical_enqueue_source.go` file. This function is used to create a new instance of the `PeriodicalEnqueueSource` struct, which is responsible for periodically enqueueing objects into a work queue.

The changes involve adding two new parameters to this function: `controllerName string` and modifying the existing `logger` parameter to include additional fields.

Here's what changed:

1. A new `controllerName` parameter was added to the `NewPeriodicalEnqueueSource` function.

These changes are to adding more context or metadata to the logging output, possibly for debugging or monitoring purposes.

The other files (`restore_operations_controller.go`, `schedule_controller.go`, and their respective test files) were modified to use this updated `NewPeriodicalEnqueueSource` function with the new `controllerName` parameter.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2024-09-09 12:07:07 -04:00
..
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2019-02-04 17:35:22 -05:00
2023-03-09 14:24:51 +08:00
2019-05-15 09:45:19 -07:00
2019-05-19 13:42:16 -06:00
2019-11-07 08:20:22 -07:00
2021-09-07 23:03:12 -04:00
2022-11-25 17:14:52 +08:00
2023-08-18 16:05:50 +08:00
2024-06-13 11:21:00 +08:00