Skip to content

Commit

Permalink
fix conversion from int64 to string
Browse files Browse the repository at this point in the history
Fixes ceph#135

Signed-off-by: Martin Bukatovic <martin.bukatovic@gmail.com>
  • Loading branch information
marbu committed May 17, 2021
1 parent 3b450cf commit 2ac748e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func runContainer(cmd *cobra.Command, args []string) {
if sizeBluestoreBlockToBytes == 0 {
log.Fatal("Wrong unit passed: ", getSize(flavor), ". Please refer to https://en.wikipedia.org/wiki/Byte.")
}
envs = append(envs, "BLUESTORE_BLOCK_SIZE="+string(sizeBluestoreBlockToBytes))
envs = append(envs, "BLUESTORE_BLOCK_SIZE="+strconv.FormatInt(sizeBluestoreBlockToBytes, 10))
}
}
if testDev == "blockdev" {
Expand Down

0 comments on commit 2ac748e

Please sign in to comment.