From 36fdc4abdb84ebfe88168f836055274f994ebac9 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Tue, 19 Feb 2019 12:05:31 -0800 Subject: [PATCH] Upgrading mod dependencies for Thrift to point to github.com location of the repository. --- coordinated_server.go | 16 ---------------- go.mod | 2 +- go.sum | 1 + 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 coordinated_server.go diff --git a/coordinated_server.go b/coordinated_server.go deleted file mode 100644 index 67f9f7b..0000000 --- a/coordinated_server.go +++ /dev/null @@ -1,16 +0,0 @@ -package realis - -import ( - "fmt" - "log" - "net/http" -) - -func handler(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, `{"roll_forward":true}`) -} - -func Run_server() { - http.HandleFunc("/aurora-update", handler) - log.Fatal(http.ListenAndServe(":8080", nil)) -} diff --git a/go.mod b/go.mod index 1b3540c..cbf5aaf 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/paypal/gorealis/v2 require ( - git.apache.org/thrift.git v0.12.0 + github.com/apache/thrift v0.12.0 github.com/davecgh/go-spew v1.1.0 // indirect github.com/pkg/errors v0.0.0-20171216070316-e881fd58d78e github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/go.sum b/go.sum index 755810b..7fce4a6 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,6 @@ git.apache.org/thrift.git v0.12.0 h1:692K1/SsOcQvkvMRMdt60FCq2AvKpuQNM6sIeH3mN4s= git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/pkg/errors v0.0.0-20171216070316-e881fd58d78e h1:+RHxT/gm0O3UF7nLJbdNzAmULvCFt4XfXHWzh3XI/zs=