Skip to content

Commit

Permalink
Add the parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
lmlg committed Sep 21, 2023
1 parent d00323d commit 2dccb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microceph/ceph/osd.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,10 @@ func AddOSD(s *state.State, path string, wipe bool, encrypt bool, waldev *string
// Bootstrap OSD.
args := []string{"--mkfs", "--no-mon-config", "-i", fmt.Sprintf("%d", nr)}
if waldev != nil {
args = append(args, *waldev)
args = append(args, []string{"--bluestore-block-wal-path", *waldev}...)
}
if dbdev != nil {
args = append(args, *dbdev)
args = append(args, []string{"--bluestore-block-db-path", *dbdev}...)
}

_, err = processExec.RunCommand("ceph-osd", args...)
Expand Down

0 comments on commit 2dccb97

Please sign in to comment.