Skip to content

Commit

Permalink
fix wrong package import for sidecar
Browse files Browse the repository at this point in the history
  • Loading branch information
nii236 committed Jun 27, 2016
1 parent f028652 commit f9afab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ import:
- metadata
- package: github.com/nii236/nii-finance
subpackages:
- vendor/github.com/serenize/snaker
- github.com/serenize/snaker
4 changes: 2 additions & 2 deletions services/Sidecar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
ccli "github.com/micro/cli"
"github.com/micro/go-micro/cmd"
"github.com/micro/micro/web"
"github.com/micro/micro/car"

_ "github.com/micro/go-plugins/broker/nats"
_ "github.com/micro/go-plugins/registry/nats"
Expand All @@ -12,7 +12,7 @@ import (

func main() {
app := cmd.App()
app.Commands = append(app.Commands, web.Commands()...)
app.Commands = append(app.Commands, car.Commands()...)
app.Action = func(context *ccli.Context) { ccli.ShowAppHelp(context) }
cmd.Init(
cmd.Name("micro"),
Expand Down

0 comments on commit f9afab0

Please sign in to comment.