Skip to content

Commit

Permalink
keyring needs a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
cholcombe973 committed Sep 22, 2017
1 parent dac2685 commit 2e1a156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/ceph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ fn save_keyring(osd_id: u64, key: &str, simulate: bool) -> IOResult<()> {
if !simulate {
let mut f = File::create(format!("{}/keyring", base_dir))?;
f.write_all(
format!("[osd.{}]\n\tkey = {}", osd_id, key).as_bytes(),
format!("[osd.{}]\n\tkey = {}\n", osd_id, key).as_bytes(),
)?;
}
Ok(())
Expand Down

0 comments on commit 2e1a156

Please sign in to comment.