Skip to content

Commit 87ac411

Browse files
committed
Revert field rename
1 parent cdcf6d5 commit 87ac411

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

core/src/worker/workflow/managed_run.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ impl ManagedRun {
367367
pub(super) fn successful_completion(
368368
&mut self,
369369
mut commands: Vec<WFCommand>,
370-
lang_used_flags: Vec<u32>,
370+
used_flags: Vec<u32>,
371371
resp_chan: Option<oneshot::Sender<ActivationCompleteResult>>,
372372
) -> Result<RunUpdateAct, NextPageReq> {
373373
let activation_was_only_eviction = self.activation_is_eviction();
@@ -436,7 +436,7 @@ impl ManagedRun {
436436
activation_was_eviction: self.activation_is_eviction(),
437437
has_pending_query,
438438
query_responses,
439-
lang_used_flags,
439+
used_flags,
440440
resp_chan,
441441
};
442442

@@ -674,9 +674,7 @@ impl ManagedRun {
674674
activation_was_eviction: completion.activation_was_eviction,
675675
};
676676

677-
self.wfm
678-
.machines
679-
.add_lang_used_flags(completion.lang_used_flags);
677+
self.wfm.machines.add_lang_used_flags(completion.used_flags);
680678

681679
// If this is just bookkeeping after a reply to an eviction activation, we can bypass
682680
// everything, since there is no reason to continue trying to update machines.
@@ -1447,7 +1445,7 @@ struct RunActivationCompletion {
14471445
activation_was_eviction: bool,
14481446
has_pending_query: bool,
14491447
query_responses: Vec<QueryResult>,
1450-
lang_used_flags: Vec<u32>,
1448+
used_flags: Vec<u32>,
14511449
/// Used to notify the worker when the completion is done processing and the completion can
14521450
/// unblock. Must always be `Some` when initialized.
14531451
resp_chan: Option<oneshot::Sender<ActivationCompleteResult>>,

0 commit comments

Comments
 (0)