From c319e012c5164600d3d3a06f9fb1f31c3d587387 Mon Sep 17 00:00:00 2001 From: Matt Tuusberg Date: Sat, 30 Dec 2023 19:39:52 +0800 Subject: [PATCH] chore: fix func documentation --- internal/plugin/restorepluginv2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/restorepluginv2.go b/internal/plugin/restorepluginv2.go index 3990833..9e68c34 100644 --- a/internal/plugin/restorepluginv2.go +++ b/internal/plugin/restorepluginv2.go @@ -37,7 +37,7 @@ func (p *RestorePluginV2) AppliesTo() (velero.ResourceSelector, error) { } // Execute allows the RestorePlugin to perform arbitrary logic with the item being restored, -// in this case, setting a custom annotation on the item being restored. +// in this case, suspending the CronJob being restored. func (p *RestorePluginV2) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error) { // Since the resource selector we defined in AppliesTo() only matches // CronJob resources, we can safely cast the input.Item to a *v1.CronJob.