Simplify get_programs(), specify a real Preview activation epoch for new BPFLoader (#11930)

(cherry picked from commit f385af25e5)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-08-31 17:21:07 +00:00
committed by GitHub
parent 663dc9959f
commit eb65ff750e
2 changed files with 31 additions and 54 deletions

View File

@@ -2647,7 +2647,7 @@ impl Bank {
assert!(callback_w.is_none(), "Already callback has been initiated");
*callback_w = Some(entered_epoch_callback);
}
// immedaitely fire the callback as initial invocation
// immediately fire the callback as initial invocation
self.reinvoke_entered_epoch_callback(true);
}