Skip to content

Commit

Permalink
Replace types.ContainerLogsOptions with container.LogsOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Mar 21, 2024
1 parent da98780 commit 8fdfc7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"os"
"strings"

"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/pkg/stdcopy"
)

Expand Down Expand Up @@ -116,7 +116,7 @@ func getResolutionInfo() (ResolutionInfo, error) {

func supervisorLogs(w io.Writer) error {
// Read logs from container
reader, err := cli.ContainerLogs(context.Background(), "hassio_supervisor", types.ContainerLogsOptions{
reader, err := cli.ContainerLogs(context.Background(), "hassio_supervisor", container.LogsOptions{
ShowStdout: true,
ShowStderr: true,
Follow: false,
Expand Down

0 comments on commit 8fdfc7d

Please sign in to comment.