From fdacad233a819e0ec7be4e9631771c2cd2e2e679 Mon Sep 17 00:00:00 2001 From: Michael Tibben Date: Tue, 4 Sep 2018 08:47:19 +1000 Subject: [PATCH] Fix go vet --- .travis.yml | 2 +- cli/ls_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 024285443..8285d5884 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ before_install: script: - govendor status - diff -u <(echo -n) <(gofmt -d $(git ls-files '*.go' | grep -v ^vendor/)) - - go vet + - go vet ./... - go test -race ./... diff --git a/cli/ls_test.go b/cli/ls_test.go index 5b20712c3..dfb85b085 100644 --- a/cli/ls_test.go +++ b/cli/ls_test.go @@ -6,7 +6,7 @@ import ( "github.com/99designs/keyring" ) -func ExampleListCommand() { +func ExampleLsCommand() { keyringImpl = keyring.NewArrayKeyring([]keyring.Item{ {Key: "llamas", Data: []byte(`{"AccessKeyID":"ABC","SecretAccessKey":"XYZ"}`)}, })