mirror of
https://github.com/kolaente/docker-db-backup.git
synced 2026-03-25 05:53:48 +01:00
fix(deps): update module github.com/docker/docker to v28 (#3)
Also updates all affected new types. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kolaente <k@knt.li>
This commit is contained in:
7
store.go
7
store.go
@@ -2,10 +2,11 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/client"
|
||||
"log"
|
||||
"sync"
|
||||
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/client"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -17,7 +18,7 @@ func init() {
|
||||
store = make(map[string]Dumper)
|
||||
}
|
||||
|
||||
func storeContainers(c *client.Client, containers []types.Container) {
|
||||
func storeContainers(c *client.Client, containers []container.Summary) {
|
||||
lock.Lock()
|
||||
defer lock.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user