1
0

feat: implement global docker timeout

This commit is contained in:
2023-05-22 14:41:00 +00:00
parent 2fe3103603
commit fa5d0adb39
6 changed files with 13 additions and 17 deletions

View File

@ -3,7 +3,6 @@ package centos
import (
"fmt"
"strings"
"time"
"github.com/rs/zerolog/log"
@ -43,7 +42,7 @@ func (centos CentOS) Equal(d distro.Distro) bool {
}
func (centos CentOS) Packages() (pkgs []string, err error) {
c, err := container.New(centos.container, time.Hour)
c, err := container.New(centos.container)
if err != nil {
return
}

View File

@ -3,7 +3,6 @@ package oraclelinux
import (
"fmt"
"strings"
"time"
"github.com/rs/zerolog/log"
@ -43,7 +42,7 @@ func (ol OracleLinux) Equal(d distro.Distro) bool {
}
func (ol OracleLinux) Packages() (pkgs []string, err error) {
c, err := container.New(ol.container, time.Hour)
c, err := container.New(ol.container)
if err != nil {
return
}

View File

@ -3,7 +3,6 @@ package ubuntu
import (
"fmt"
"strings"
"time"
"code.dumpstack.io/tools/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/container"
@ -49,7 +48,7 @@ func (u Ubuntu) Equal(d distro.Distro) bool {
}
func (u Ubuntu) Packages() (pkgs []string, err error) {
c, err := container.New(u.container, time.Hour)
c, err := container.New(u.container)
if err != nil {
return
}