diff --git a/cmd/start.go b/cmd/start.go index 046b699..36fbc5f 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -23,6 +23,7 @@ package cmd import ( + "fmt" "log" "os" "runtime" @@ -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" {