From ca4e237d628122703cf2370eb4f6d755299d5f32 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Thu, 15 Nov 2018 14:14:05 -0800 Subject: [PATCH] gofmt -s -w command/helper_stats_test.go Fixes the static checks build --- command/helper_stats_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command/helper_stats_test.go b/command/helper_stats_test.go index cb984c83a..7ab385c52 100644 --- a/command/helper_stats_test.go +++ b/command/helper_stats_test.go @@ -87,13 +87,13 @@ func TestFormatDeviceStats(t *testing.T) { "k0": statValue("v0"), }, Nested: map[string]*api.StatObject{ - "nested1": &api.StatObject{ + "nested1": { Attributes: map[string]*api.StatValue{ "k1_0": statValue("v1_0"), "k1_1": statValue("v1_1"), }, Nested: map[string]*api.StatObject{ - "nested1_1": &api.StatObject{ + "nested1_1": { Attributes: map[string]*api.StatValue{ "k11_0": statValue("v11_0"), "k11_1": statValue("v11_1"), @@ -101,7 +101,7 @@ func TestFormatDeviceStats(t *testing.T) { }, }, }, - "nested2": &api.StatObject{ + "nested2": { Attributes: map[string]*api.StatValue{ "k2": statValue("v2"), },