Skip to content

Commit

Permalink
add erroneous no lint wrapcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
TmNguyen12 committed Jan 9, 2025
1 parent b0cc415 commit c07dd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definition/populate.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ func populateCluster(i *integration.Integration, clusterName string, k8sVersion

err = e.Inventory.SetItem("cluster", "newrelic.integrationVersion", i.IntegrationVersion)
if err != nil {
return err
return err //nolint: wrapcheck
}

err = e.Inventory.SetItem("cluster", "newrelic.integrationName", integrationName)
if err != nil {
return err
return err //nolint: wrapcheck
}

return ms.SetMetric("clusterK8sVersion", k8sVersionStr, metric.ATTRIBUTE)
Expand Down

0 comments on commit c07dd07

Please sign in to comment.