From 744dbff34969ef612b219cde5b8f116f3ae3d26f Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Mon, 17 Jul 2017 23:16:00 -0700 Subject: Small fixes so "make lint" doesn't complain. --- actions/policy.go | 1 - 1 file changed, 1 deletion(-) (limited to 'actions') diff --git a/actions/policy.go b/actions/policy.go index 1291e6b..946bdd4 100644 --- a/actions/policy.go +++ b/actions/policy.go @@ -61,7 +61,6 @@ func PurgeAllPolicies(ctx *Context) error { switch errors.Cause(err) { case nil, crypto.ErrKeyringSearch: // We don't care if the key has already been removed - break default: return err } -- cgit v1.3 From 17f7dd867d0fd450377c6862c0782483d39ae408 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Mon, 17 Jul 2017 23:29:27 -0700 Subject: actions: Fixed flaky hashing test --- actions/hashing_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') diff --git a/actions/hashing_test.go b/actions/hashing_test.go index e3cffb6..d249d8b 100644 --- a/actions/hashing_test.go +++ b/actions/hashing_test.go @@ -30,8 +30,8 @@ import ( // estimations are somewhat close to the targets. func TestCostsSearch(t *testing.T) { for _, target := range []time.Duration{ - 20 * time.Millisecond, 100 * time.Millisecond, + 200 * time.Millisecond, 500 * time.Millisecond, } { costs, err := getHashingCosts(target) -- cgit v1.3