Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed Oct 9, 2024
1 parent 0190ee1 commit 8cd4c3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestDefaultProcessorStartup(t *testing.T) {
proc, err := buildDockerMetadataProcessor(logp.L(), cfg, docker.NewWatcher)
require.NoError(t, err)

unwrapped := proc.(*addDockerMetadata)
unwrapped, _ := proc.(*addDockerMetadata)

// make sure pid readers have been initialized properly
_, err = unwrapped.getProcessCgroups(os.Getpid())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestDefaultProcessorStartup(t *testing.T) {
require.NoError(t, err)

// ensure the underlying provider has been initialized properly
unwrapped := proc.(*addProcessMetadata)
unwrapped, _ := proc.(*addProcessMetadata)
metadata, err := unwrapped.provider.GetProcessMetadata(os.Getpid())
require.NoError(t, err)
require.NotNil(t, metadata)
Expand Down

0 comments on commit 8cd4c3a

Please sign in to comment.