From 8f9a678b7d7b0692c140738371492da49231de96 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Tue, 18 Dec 2018 12:38:25 -0800 Subject: [PATCH] Using more golang standard constant naming. --- examples/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/client.go b/examples/client.go index 0ac80f4..d4ea8f0 100644 --- a/examples/client.go +++ b/examples/client.go @@ -30,7 +30,7 @@ var cmd, executor, url, clustersConfig, clusterName, updateId, username, passwor var caCertsPath string var clientKey, clientCert string -var CONNECTION_TIMEOUT = 20 * time.Second +var ConnectionTimeout = 20 * time.Second func init() { flag.StringVar(&cmd, "cmd", "", "Aurora Job request type to send to Aurora Scheduler") @@ -80,7 +80,7 @@ func main() { clientOptions := []realis.ClientOption{ realis.BasicAuth(username, password), realis.ThriftJSON(), - realis.Timeout(CONNECTION_TIMEOUT), + realis.Timeout(ConnectionTimeout), realis.BackOff(realis.Backoff{ Steps: 2, Duration: 10 * time.Second,