-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(sns): Move upgrade-steps-related functions to their own file (…
…#2836) This PR moves `temporarily_lock_refresh_cached_upgrade_steps`, `should_refresh_cached_upgrade_steps`, and `should_refresh_cached_upgrade_steps` into the already existing `cached_upgrade_steps.rs` file. The benefit of this is improved organization – pretty much all the upgrade-steps-related stuff is now in one small file. [Next PR →](#2839) ## Note We don't do this very often in SNS governance, but I think it would be a good habit to get into. These giant files we have are intimidating and make it hard to find what you're looking for. Another case where we do this currently is in `upgrade_journal.rs`
- Loading branch information
Showing
2 changed files
with
84 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters