From 74a7175688f7b8a7cd1272acbefba7524229bcca Mon Sep 17 00:00:00 2001 From: Scott Fleckenstein Date: Wed, 28 Mar 2018 14:52:06 -0700 Subject: [PATCH] Remove duplicate graceful package --- glide.lock | 3 --- glide.yaml | 3 --- support/http/server/chi-router.go | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/glide.lock b/glide.lock index 712db9c0f7..56abeff4d2 100644 --- a/glide.lock +++ b/glide.lock @@ -351,9 +351,6 @@ imports: version: 2c9cfd17756470a0b7c3e4b7954bae7d11035504 - name: github.com/bartekn/go-bip39 version: a05967ea095d81c8fe4833776774cfaff8e5036c -- name: github.com/tylerb/graceful - version: 7116c7a8115899e80197cd9e0b97998c0f97ed8e - repo: https://github.com/tylerb/graceful - name: github.com/valyala/bytebufferpool version: e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7 repo: https://github.com/valyala/bytebufferpool diff --git a/glide.yaml b/glide.yaml index 29160a80f6..d1ffe603ec 100644 --- a/glide.yaml +++ b/glide.yaml @@ -236,9 +236,6 @@ import: - package: github.com/stretchr/objx version: 1a9d0bb9f541897e62256577b352fdbc1fb4fd94 repo: https://github.com/stretchr/objx -- package: github.com/tylerb/graceful - version: 7116c7a8115899e80197cd9e0b97998c0f97ed8e - repo: https://github.com/tylerb/graceful - package: github.com/valyala/bytebufferpool version: e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7 repo: https://github.com/valyala/bytebufferpool diff --git a/support/http/server/chi-router.go b/support/http/server/chi-router.go index 2f1d78cd21..f8a9c07cc0 100644 --- a/support/http/server/chi-router.go +++ b/support/http/server/chi-router.go @@ -7,8 +7,8 @@ import ( "github.com/go-chi/chi" "github.com/stellar/go/support/log" - "github.com/tylerb/graceful" "golang.org/x/net/http2" + "gopkg.in/tylerb/graceful.v1" ) // TLSConfig specifies the TLS portion of a config