Skip to content

Commit

Permalink
ensure newlines after nexus config-partial.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
iliana committed Sep 7, 2023
1 parent e0320b9 commit fd77994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sled-agent/src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,9 @@ impl ServiceManager {
.open(&config_path)
.await
.map_err(|err| Error::io_path(&config_path, err))?;
file.write_all(b"\n\n")
.await
.map_err(|err| Error::io_path(&config_path, err))?;
file.write_all(config_str.as_bytes())
.await
.map_err(|err| Error::io_path(&config_path, err))?;
Expand Down

0 comments on commit fd77994

Please sign in to comment.