From a3963e9fe7384fb687ae603a5af8c4e371df0c0e Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Thu, 10 Dec 2020 16:38:10 -0700 Subject: [PATCH] Changes assignment of runErr to var, not short declaration. --- cmd/epoxy_client/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/epoxy_client/main.go b/cmd/epoxy_client/main.go index 0fc5783..a2d3d96 100644 --- a/cmd/epoxy_client/main.go +++ b/cmd/epoxy_client/main.go @@ -53,7 +53,7 @@ func main() { for { // Run the config loaded from the action URL. - runErr := c.Run(*flagAction, *flagAddKargs, *flagDryrun) + runErr = c.Run(*flagAction, *flagAddKargs, *flagDryrun) if runErr != nil { // Define a successful result. result = "error: " + runErr.Error()