From 37a2e87a4e6855cdac48f2d3c1ca00b099636993 Mon Sep 17 00:00:00 2001 From: HenryFuhengWu Date: Fri, 16 Jul 2021 11:54:40 -0700 Subject: [PATCH] clean up code --- .travis.yml | 3 +++ README.md | 8 +++----- go/errors.go | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a27e537..bcd282d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,9 @@ matrix: include: - go: 1.12.x - go: 1.13.x + - go: 1.14.x + - go: 1.15.x + - go: 1.16.x env: LINT=1 install: diff --git a/README.md b/README.md index 0764ea7..326fb0d 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ [![CodeCov][cov-img]][cov] [![GoDoc][doc-img]][doc] [![Github release][release-img]][release] -[![Build Status][ci-img]][ci] -[![FOSSA][fossa-img]][fossa] [![Go Report Card][report-card-img]][report-card] [![lic][license-img]][license] [![made][made-img]][made] @@ -1154,7 +1152,7 @@ For the contributors, the following is `athenadriver` Package's UML Class Diagra ---- -`athenadriver` is brought to you by Uber ATG Infrastructure. Copyright (c) 2020 Uber Technologies, Inc. ![](resources/atg-infra.png) +`athenadriver` is brought to you by Uber. Copyright (c) 2020 Uber Technologies, Inc. @@ -1179,6 +1177,6 @@ For the contributors, the following is `athenadriver` Package's UML Class Diagra [release-policy]: https://golang.org/doc/devel/release.html#policy -[made-img]: https://img.shields.io/badge/By-Uber%20ATG-red -[made]: https://www.uber.com/us/en/atg/ +[made-img]: https://img.shields.io/badge/By-Uber%20Tech-red +[made]: https://www.uber.com diff --git a/go/errors.go b/go/errors.go index 2e64b9a..925c817 100644 --- a/go/errors.go +++ b/go/errors.go @@ -42,5 +42,5 @@ var ( ErrAthenaNilAPI = errors.New("athenaAPI must not be nil") ErrTestMockGeneric = errors.New("some_mock_error_for_test") ErrTestMockFailedByAthena = errors.New("the reason why Athena failed the query") - ErrServiceLimitOverride = errors.New(fmt.Sprintf("service limit override must be greater than %d", PoolInterval)) + ErrServiceLimitOverride = fmt.Errorf("service limit override must be greater than %d", PoolInterval) )