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
  • Loading branch information
marbu committed May 15, 2021
1 parent 3b450cf commit 3148a2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
package cmd

import (
"fmt"
"log"
"os"
"runtime"
Expand Down Expand Up @@ -195,7 +196,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="+fmt.Sprint(sizeBluestoreBlockToBytes))
}
}
if testDev == "blockdev" {
Expand Down

0 comments on commit 3148a2f

Please sign in to comment.