Skip to content

Commit

Permalink
adding comment to skip validation error of test
Browse files Browse the repository at this point in the history
  • Loading branch information
gizas committed Apr 24, 2024
1 parent ea50b00 commit f3b6f21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libbeat/autodiscover/providers/kubernetes/pod_test.go
Expand Up @@ -2196,10 +2196,9 @@ func TestPodEventer_Namespace_Node_Watcher(t *testing.T) {
}

for _, test := range tests {

t.Run(test.name, func(t *testing.T) {
testcfg := &test.cfg
config := conf.MustNewConfigFrom(testcfg)
// #nosec G601
config := conf.MustNewConfigFrom(&test.cfg)
c := defaultConfig()
err = config.Unpack(&c)
assert.NoError(t, err)
Expand Down

0 comments on commit f3b6f21

Please sign in to comment.