Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan committed Nov 13, 2023
1 parent 5461558 commit 0263888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/procstat/procstat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func TestGather_MoresupervisorUnitPIDs(t *testing.T) {
pids := pidsTag.PIDS
tags := pidsTag.Tags
err := pidsTag.Err
require.Len(t, pids, 0)
require.Empty(t, pids)
require.Contains(t, []string{"TestGather_STARTINGsupervisorUnitPIDs", "TestGather_FATALsupervisorUnitPIDs"}, tags["supervisor_unit"])
if tags["supervisor_unit"] == "TestGather_STARTINGsupervisorUnitPIDs" {
require.Equal(t, "STARTING", tags["status"])
Expand Down

0 comments on commit 0263888

Please sign in to comment.