Enable gofmt code simplification (#4887)
This commit is contained in:
committed by
Daniel Nelson
parent
4a311830c6
commit
ee056278f5
@@ -85,11 +85,11 @@ func TestBuildTags(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
[]*telegraf.Tag{
|
||||
&telegraf.Tag{
|
||||
{
|
||||
Key: "one",
|
||||
Value: "two",
|
||||
},
|
||||
&telegraf.Tag{
|
||||
{
|
||||
Key: "three",
|
||||
Value: "four",
|
||||
},
|
||||
@@ -98,7 +98,7 @@ func TestBuildTags(t *testing.T) {
|
||||
},
|
||||
{
|
||||
[]*telegraf.Tag{
|
||||
&telegraf.Tag{
|
||||
{
|
||||
Key: "aaa",
|
||||
Value: "bbb",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user