Skip to content

Commit 49da865

Browse files
authored
Flush Nexus Config after writing (#8715)
Fixes #8712
1 parent 174b829 commit 49da865

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sled-agent/src/services.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2387,6 +2387,9 @@ impl ServiceManager {
23872387
file.write_all(config_str.as_bytes())
23882388
.await
23892389
.map_err(|err| Error::io_path(&config_path, err))?;
2390+
file.flush()
2391+
.await
2392+
.map_err(|err| Error::io_path(&config_path, err))?;
23902393

23912394
let nexus_config = PropertyGroupBuilder::new("config");
23922395
let nexus_service = ServiceBuilder::new("oxide/nexus")

0 commit comments

Comments
 (0)