From 406640c7a9dfca9a5d0f74b4a9a407add19ddf72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A1n=20I=2E=20Del=20Valle?= Date: Wed, 19 Feb 2020 12:01:02 -0800 Subject: [PATCH] Add a few items to gitignore. Change few missed dependencies to point to aurora-scheduler repository. (#3) --- .gitignore | 7 +++++++ examples/client.go | 4 ++-- examples/jsonClient.go | 4 ++-- go.mod | 6 ++---- response/response.go | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index ecf2cf1..6cd33c9 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,10 @@ _testmain.go # Output of the go coverage tool, specifically when used with LiteIDE *.out + +# Example client build +examples/client +examples/jsonClient + +# Use checksum database +go.sum diff --git a/examples/client.go b/examples/client.go index 7d9691f..f598562 100644 --- a/examples/client.go +++ b/examples/client.go @@ -21,8 +21,8 @@ import ( "strings" "time" - realis "github.com/paypal/gorealis/v2" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + realis "github.com/aurora-scheduler/gorealis/v2" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" ) var cmd, executor, url, clustersConfig, clusterName, updateId, username, password, zkUrl, hostList, role string diff --git a/examples/jsonClient.go b/examples/jsonClient.go index 4696474..68ea1ca 100644 --- a/examples/jsonClient.go +++ b/examples/jsonClient.go @@ -23,8 +23,8 @@ import ( "os" "time" - realis "github.com/paypal/gorealis/v2" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + realis "github.com/aurora-scheduler/gorealis/v2" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" "github.com/pkg/errors" ) diff --git a/go.mod b/go.mod index 12edbb7..7a69f0d 100644 --- a/go.mod +++ b/go.mod @@ -2,11 +2,9 @@ module github.com/aurora-scheduler/gorealis/v2 require ( 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 + github.com/pkg/errors v0.9.1 github.com/samuel/go-zookeeper v0.0.0-20171117190445-471cd4e61d7a - github.com/stretchr/testify v1.2.0 + github.com/stretchr/testify v1.5.0 ) replace github.com/apache/thrift v0.12.0 => github.com/ridv/thrift v0.12.2 diff --git a/response/response.go b/response/response.go index 2b2ffe0..1663b1b 100644 --- a/response/response.go +++ b/response/response.go @@ -18,7 +18,7 @@ package response import ( "bytes" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" ) // Get key from a response created by a StartJobUpdate call