diff --git a/pkg/esxi/handler/handlers.go b/pkg/esxi/handler/handlers.go index dae2ba362e..84831030d5 100644 --- a/pkg/esxi/handler/handlers.go +++ b/pkg/esxi/handler/handlers.go @@ -75,7 +75,7 @@ func uploadHandler(ctx context.Context, w http.ResponseWriter, r *http.Request) httperrors.MissingParameterError(w, "miss disk") return } - hostutils.DelayTask(ctx, esxi.EsxiAgent.AgentStorage.SaveToGlance, disk) + hostutils.DelayTaskWithoutReqctx(ctx, esxi.EsxiAgent.AgentStorage.SaveToGlance, disk) hostutils.ResponseOk(ctx, w) }