replace some fmt.Sprintfs with strconv
Teeny-tiny optimizations:
    BenchmarkSprintf-10       37735996    32.31  ns/op  0 B/op  0 allocs/op
    BenchmarkItoa-10         591945836     2.031 ns/op  0 B/op  0 allocs/op
    BenchmarkFormatUint-10   593701444     2.014 ns/op  0 B/op  0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
			
			
This commit is contained in:
		@@ -18,9 +18,9 @@ package client
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"bufio"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
	"path/filepath"
 | 
			
		||||
	"strconv"
 | 
			
		||||
	"strings"
 | 
			
		||||
	"syscall"
 | 
			
		||||
	"testing"
 | 
			
		||||
@@ -133,7 +133,7 @@ func TestDaemonCustomCgroup(t *testing.T) {
 | 
			
		||||
		t.Skip("skip TestDaemonCustomCgroup since no cgroup path available")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	customCgroup := fmt.Sprintf("%d", time.Now().Nanosecond())
 | 
			
		||||
	customCgroup := strconv.Itoa(time.Now().Nanosecond())
 | 
			
		||||
	configTOML := `
 | 
			
		||||
version = 2
 | 
			
		||||
[cgroup]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user