0
0
forked from toolshed/abra

Revert "Revert "feat: backup revolution""

This reverts commit 2c515ce70a.
This commit is contained in:
2024-03-12 10:34:40 +01:00
parent e3a0af5840
commit 575f9905f1
10 changed files with 401 additions and 559 deletions

View File

@ -28,7 +28,7 @@ func GetContainer(c context.Context, cl *client.Client, filters filters.Args, no
return types.Container{}, fmt.Errorf("no containers matching the %v filter found?", filter)
}
if len(containers) != 1 {
if len(containers) > 1 {
var containersRaw []string
for _, container := range containers {
containerName := strings.Join(container.Names, " ")