From 43351ae8a51042aaf8ee987c4722178bdf4c5f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trung=20L=C3=AA?= Date: Tue, 8 Sep 2020 00:24:19 +1000 Subject: [PATCH 1/2] Convert int to string using rune() --- internal/ui/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/action.go b/internal/ui/action.go index a98da5ef..072f5802 100644 --- a/internal/ui/action.go +++ b/internal/ui/action.go @@ -83,7 +83,7 @@ func (a KeyActions) Hints() model.MenuHints { }, ) } else { - log.Error().Msgf("Unable to locate KeyName for %#v", string(k)) + log.Error().Msgf("Unable to locate KeyName for %#v", string(rune(k))) } } return hh From 0e6a76b21b6a89b4eab05cb160661408e21f7968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trung=20L=C3=AA?= Date: Tue, 8 Sep 2020 00:25:15 +1000 Subject: [PATCH 2/2] Testing against go 1.15 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 533dd765..1e71c11c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go_import_path: github.com/derailed/k9s go: - - "1.13" + - "1.15" os: - linux