From a798f270b083941811bc78844baa353aefbc3318 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 7 Nov 2019 15:26:53 -0500 Subject: [PATCH] Fix linting issue --- cmd/e2d/app/version.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/e2d/app/version.go b/cmd/e2d/app/version.go index abc1538..b6a2ab1 100644 --- a/cmd/e2d/app/version.go +++ b/cmd/e2d/app/version.go @@ -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, },