Compare commits
No commits in common. "ad5254ded3bb9fb830a946cf34a26fe2aa805cc3" and "5fcc87498554868f0b5637ddf7aa4561ef647339" have entirely different histories.
ad5254ded3
...
5fcc874985
@ -239,16 +239,17 @@ func (cmd *PewCmd) Run(g *Globals) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if cmd.QemuTimeout != 0 {
|
if cmd.QemuTimeout != 0 {
|
||||||
|
log.Info().Msgf("Set qemu timeout to %s", cmd.QemuTimeout)
|
||||||
|
g.Config.Qemu.Timeout.Duration = cmd.QemuTimeout
|
||||||
ka.Qemu.Timeout.Duration = cmd.QemuTimeout
|
ka.Qemu.Timeout.Duration = cmd.QemuTimeout
|
||||||
}
|
}
|
||||||
|
|
||||||
if cmd.DockerTimeout != 0 {
|
if cmd.DockerTimeout != 0 {
|
||||||
|
log.Info().Msgf("Set docker timeout to %s", cmd.DockerTimeout)
|
||||||
|
g.Config.Docker.Timeout.Duration = cmd.DockerTimeout
|
||||||
ka.Docker.Timeout.Duration = cmd.DockerTimeout
|
ka.Docker.Timeout.Duration = cmd.DockerTimeout
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Info().Msgf("Qemu timeout: %s", ka.Qemu.Timeout.Duration)
|
|
||||||
log.Info().Msgf("Docker timeout: %s", ka.Docker.Timeout.Duration)
|
|
||||||
|
|
||||||
if cmd.Tag == "" {
|
if cmd.Tag == "" {
|
||||||
cmd.Tag = fmt.Sprintf("%d", time.Now().Unix())
|
cmd.Tag = fmt.Sprintf("%d", time.Now().Unix())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user