mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 17:32:21 -04:00
daemon/root: Fix state loading
This commit is contained in:
parent
5b8deecd45
commit
a56101c71c
2 changed files with 8 additions and 5 deletions
|
@ -109,16 +109,18 @@ impl DaemonContext for RootContext {
|
|||
}
|
||||
|
||||
fn state(&self) -> RootState {
|
||||
RootState::default()
|
||||
self.state
|
||||
}
|
||||
|
||||
async fn start(
|
||||
&mut self,
|
||||
_state: RootState,
|
||||
state: RootState,
|
||||
_config: RootConfig,
|
||||
_daemon: &mut Daemon<RootContext>,
|
||||
daemon: &mut Daemon<RootContext>,
|
||||
) -> Result<()> {
|
||||
// Nothing to do yet
|
||||
self.state = state;
|
||||
self.reload_ds_inhibit(daemon).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue