forked from canonical/subiquity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
identity: look-ahead on source variant
The current check for Desktop doesn't work in load_autoinstall_data because the variant isn't set until the controllers have started (and load_autoinstall_data happens before this). The simple way to get around this is to re-implement this logic in the identity controller so it can tell ahead of time what the result will be in the source controller/model. We should remove this logic once we can move this check to a time after all the controllers have started.
- Loading branch information
1 parent
995afb2
commit 14a2f7a
Showing
2 changed files
with
93 additions
and
1 deletion.
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