Skip to content

Commit

Permalink
fix: remove unused function after resolving conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jul 16, 2024
1 parent d492f55 commit 9df76db
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -786,10 +786,3 @@ func (c *DockerContainer) terminatedHook(ctx context.Context) error {
return lifecycleHooks.PostTerminates
})
}

func tryClose(r io.Reader) {
rc, ok := r.(io.Closer)
if ok {
_ = rc.Close()
}
}

0 comments on commit 9df76db

Please sign in to comment.