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

Commit a798f27

Browse files
committed
Fix linting issue
1 parent 03eec66 commit a798f27

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

cmd/e2d/app/version.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ import (
1111
)
1212

1313
func newVersionCmd() *cobra.Command {
14-
// TODO(chris): expose e2d version alongside of etcd version
1514
cmd := &cobra.Command{
1615
Use: "version",
1716
Short: "etcd version",
1817
Run: func(cmd *cobra.Command, args []string) {
1918
data, err := json.Marshal(map[string]map[string]string{
20-
"etcd": map[string]string{
19+
"etcd": {
2120
"Version": version.Version,
2221
},
23-
"e2d": map[string]string{
22+
"e2d": {
2423
"Version": buildinfo.Version,
2524
"GitSHA": buildinfo.GitSHA,
2625
},

0 commit comments

Comments
 (0)