From e7711c31eaf4c2a1325a176e3db4099e9ed4b676 Mon Sep 17 00:00:00 2001 From: Christopher Gerber Date: Thu, 4 Feb 2016 16:18:57 -0600 Subject: [PATCH] Wrong function to convert int to string. --- builder/amazon/common/cli_config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/common/cli_config_test.go b/builder/amazon/common/cli_config_test.go index 8ef775163..6a6dc7ed5 100644 --- a/builder/amazon/common/cli_config_test.go +++ b/builder/amazon/common/cli_config_test.go @@ -71,7 +71,7 @@ func TestAssumeRole(t *testing.T) { func mockConfig(t *testing.T) string { time := time.Now().UnixNano() - dir, err := ioutil.TempDir("", strconv.Itoa(time)) + dir, err := ioutil.TempDir("", strconv.FormatInt(time, 10)) if err != nil { t.Error(err) }