Add a few items to gitignore. Change few missed dependencies to point to aurora-scheduler repository. (#3)

This commit is contained in:
Renán I. Del Valle 2020-02-19 12:01:02 -08:00 committed by GitHub
parent 02710e5434
commit 406640c7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 9 deletions

7
.gitignore vendored
View file

@ -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

View file

@ -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

View file

@ -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"
)

6
go.mod
View file

@ -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

View file

@ -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