Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRx committed Nov 7, 2019
1 parent 03eec66 commit a798f27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/e2d/app/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ import (
)

func newVersionCmd() *cobra.Command {
// TODO(chris): expose e2d version alongside of etcd version
cmd := &cobra.Command{
Use: "version",
Short: "etcd version",
Run: func(cmd *cobra.Command, args []string) {
data, err := json.Marshal(map[string]map[string]string{
"etcd": map[string]string{
"etcd": {
"Version": version.Version,
},
"e2d": map[string]string{
"e2d": {
"Version": buildinfo.Version,
"GitSHA": buildinfo.GitSHA,
},
Expand Down

0 comments on commit a798f27

Please sign in to comment.