Skip to content

Commit

Permalink
Fix docker client initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodivisi0n authored Oct 8, 2024
1 parent 6a02b97 commit 5fff4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/docker/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.P

widget.View.SetScrollable(true)

cli, err := client.NewClientWithOpts()
cli, err := client.NewClientWithOpts(client.FromEnv)
if err != nil {
widget.displayBuffer = errors.Wrap(err, "could not create client").Error()
} else {
Expand Down

0 comments on commit 5fff4cb

Please sign in to comment.