Skip to content

Commit e689583

Browse files
committed
[apiserver/ingest] Pass correct args to CleanupStoredData
1 parent 7399d95 commit e689583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apiserver/ingest/edgefunction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Finalize:
179179
if errors.As(err, &appErr) {
180180
res.Err = appErr.Error()
181181
}
182-
cleanErr := workflow.ExecuteActivity(sessCtx, w.CleanupStagedData, in.Obj.Name).Get(ctx, nil)
182+
cleanErr := workflow.ExecuteActivity(sessCtx, w.CleanupStagedData, in).Get(ctx, nil)
183183
if cleanErr != nil {
184184
log.Error("Failed to cleanup staged data", "Error", cleanErr)
185185
}

0 commit comments

Comments
 (0)