Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TmNguyen12 committed Jan 9, 2025
1 parent 58d5a90 commit 89865ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/definition/populate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,13 @@ func TestIntegrationPopulator_IntegrationVersionInInventory(t *testing.T) {

expectedInventory := inventory.New()
err = expectedInventory.SetItem("cluster", "name", defaultNS)
require.NoError(t, err)
err = expectedInventory.SetItem("cluster", "k8sVersion", config.K8sVersion.String())
require.NoError(t, err)
err = expectedInventory.SetItem("cluster", "newrelic.integrationVersion", integrationVersion)
require.NoError(t, err)
err = expectedInventory.SetItem("cluster", "newrelic.integrationName", "com.newrelic.kubernetes")
require.NoError(t, err)

populated, errs := definition.IntegrationPopulator(config)
assert.True(t, populated)
Expand Down

0 comments on commit 89865ae

Please sign in to comment.