Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Apr 22, 2024
1 parent 5bc7372 commit f3b96b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (c CorePlugin) Finalize(ctx context.Context, tCtx core.TaskExecutionContext
err := c.cache.DeleteDelayed(cacheItemID)
if err != nil {
logger.Errorf(ctx, "Failed to delete resource [%v] from cache. Error: %v", cacheItemID, err)
return err
return fmt.Errorf("failed to delete resource [%v] from cache. Error: %v", cacheItemID, err)
}

if len(c.p.GetConfig().ResourceQuotas) == 0 {
Expand Down

0 comments on commit f3b96b5

Please sign in to comment.