Skip to content

Commit

Permalink
fix: address changed call
Browse files Browse the repository at this point in the history
  • Loading branch information
joan-s-molas committed Jul 18, 2024
1 parent 3fe7e49 commit e2fb87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (c *dockerHealthCollector) collectMetrics(ch chan<- prometheus.Metric) {
}

func (c *dockerHealthCollector) collectContainer() {
containers, err := c.containerClient.ContainerList(context.Background(), types.ContainerListOptions{All: true})
containers, err := c.containerClient.ContainerList(context.Background(), tcontainer.ListOptions{All: true})
errCheck(err)
c.containerInfoCache = []types.ContainerJSON{}

Expand Down

0 comments on commit e2fb87b

Please sign in to comment.