From 3c780d2e262dd6f878dfbe52a7711c89c124ad0c Mon Sep 17 00:00:00 2001 From: Vijayan Balasubramanian Date: Wed, 23 Sep 2020 11:43:17 -0700 Subject: [PATCH 1/2] CLI: Fix build errors Added fmt to headers --- cli/cmd/delete.go | 1 + cli/cmd/start_stop.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cli/cmd/delete.go b/cli/cmd/delete.go index 4a383de8..3fc76ce5 100644 --- a/cli/cmd/delete.go +++ b/cli/cmd/delete.go @@ -14,6 +14,7 @@ package cmd import ( handler "esad/internal/handler/ad" + "fmt" "github.com/spf13/cobra" ) diff --git a/cli/cmd/start_stop.go b/cli/cmd/start_stop.go index 5b98a4c4..fc5c44b9 100644 --- a/cli/cmd/start_stop.go +++ b/cli/cmd/start_stop.go @@ -15,6 +15,7 @@ package cmd import ( "esad/internal/client" "esad/internal/handler/ad" + "fmt" "github.com/spf13/cobra" ) From 186f8d9111f8e1a3c7265cf84bd81a8b57853d62 Mon Sep 17 00:00:00 2001 From: Vijayan Balasubramanian Date: Wed, 23 Sep 2020 12:37:46 -0700 Subject: [PATCH 2/2] Update threshold Allow flexible threshold for code coverage. --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 7b15d37a..3a595d10 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,7 +2,7 @@ coverage: status: project: default: - threshold: 1 + threshold: 5 target: auto plugin: target: 70%