feat: backup revolution

See coop-cloud/organising#485
This commit is contained in:
2023-10-01 08:02:30 +02:00
parent ca91abbed9
commit c5687dfbd7
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, " ")