File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424// Cleanup removes expired actions logs, data, artifacts and used ephemeral runners
2525func Cleanup (ctx context.Context ) error {
2626 // clean up expired artifacts
27- if err := CleanupExpiredArtifacts (ctx ); err != nil {
27+ if err := CleanupArtifacts (ctx ); err != nil {
2828 return fmt .Errorf ("cleanup artifacts: %w" , err )
2929 }
3030
@@ -41,8 +41,8 @@ func Cleanup(ctx context.Context) error {
4141 return nil
4242}
4343
44- // CleanupExpiredArtifacts removes expired add need-deleted artifacts and set records expired status
45- func CleanupExpiredArtifacts (taskCtx context.Context ) error {
44+ // CleanupArtifacts removes expired add need-deleted artifacts and set records expired status
45+ func CleanupArtifacts (taskCtx context.Context ) error {
4646 if err := cleanExpiredArtifacts (taskCtx ); err != nil {
4747 return err
4848 }
You can’t perform that action at this time.
0 commit comments