Skip to content

Commit

Permalink
Merge pull request #284 from pquerna/pq/update_deps_fix_vbundle
Browse files Browse the repository at this point in the history
Update Dependencies and fix vbundle
  • Loading branch information
klizhentas committed Dec 28, 2016
2 parents 8d4beb4 + b0eaeb2 commit b6df924
Show file tree
Hide file tree
Showing 390 changed files with 55,885 additions and 18,014 deletions.
331 changes: 189 additions & 142 deletions Godeps/Godeps.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ test-package-with-etcd: clean
${ETCD_FLAGS} go test -v ./$(p)

update:
rm -rf Godeps/
find . -iregex .*go | xargs sed -i 's:".*Godeps/_workspace/src/:":g'
godep save -r ./...
rm -rf Godeps/ vendor/
godep save ./...

test-grep-etcdng: clean
${ETCD_FLAGS} go test -v ./engine/etcdng -check.f=$(e)
Expand Down
2 changes: 1 addition & 1 deletion api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (s *ApiSuite) SetUpTest(c *C) {

sv := supervisor.New(newProxy, s.ng, make(chan error), supervisor.Options{})

app := scroll.NewApp()
app, _ := scroll.NewApp()
InitProxyController(s.ng, sv, app)
s.testServer = httptest.NewServer(app.GetHandler())
s.client = NewClient(s.testServer.URL, registry.GetRegistry())
Expand Down
6 changes: 5 additions & 1 deletion service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,11 @@ func (s *Service) newProxy(id int) (proxy.Proxy, error) {
}

func (s *Service) initApi() error {
s.apiApp = scroll.NewApp()
var err error
s.apiApp, err = scroll.NewApp()
if err != nil {
return err
}
api.InitProxyController(s.ng, s.supervisor, s.apiApp)
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion vbundle/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func GetRegistry() (*plugin.Registry, error) {
const vulcanctlTemplate = `package main
import (
log "github.com/vulcand/vulcand/Godeps/_workspace/src/github.com/Sirupsen/logrus"
log "github.com/Sirupsen/logrus"
"github.com/vulcand/vulcand/vctl/command"
"{{.PackagePath}}/registry"
"os"
Expand Down
2 changes: 1 addition & 1 deletion vctl/command/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (s *CmdSuite) SetUpTest(c *C) {
sv.Start()
s.sv = sv

app := scroll.NewApp()
app, _ := scroll.NewApp()
api.InitProxyController(s.ng, sv, app)
s.testServer = httptest.NewServer(app.GetHandler())

Expand Down
4 changes: 1 addition & 3 deletions vendor/github.com/Sirupsen/logrus/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 47 additions & 5 deletions vendor/github.com/Sirupsen/logrus/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions vendor/github.com/Sirupsen/logrus/alt_exit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 34 additions & 23 deletions vendor/github.com/Sirupsen/logrus/entry.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 36 additions & 3 deletions vendor/github.com/Sirupsen/logrus/json_formatter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b6df924

Please sign in to comment.