mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 11:21:02 +00:00
addopt
This commit is contained in:
parent
388f84e507
commit
22d5528d80
1 changed files with 2 additions and 2 deletions
|
@ -184,9 +184,9 @@ func (e *lxc) StartStep(ctx context.Context, step *types.Step, taskUUID string)
|
|||
}
|
||||
env = append(env, "PATH="+os.Getenv("PATH"))
|
||||
|
||||
defaultCloneImage := strings.Split(constant.DefaultCloneImage, ":")
|
||||
defaultCloneImage := strings.Split(constant.DefaultClonePlugin, ":")
|
||||
if len(defaultCloneImage) != 2 {
|
||||
err := fmt.Errorf("%s does not split in two but in %v", constant.DefaultCloneImage, defaultCloneImage)
|
||||
err := fmt.Errorf("%s does not split in two but in %v", constant.DefaultClonePlugin, defaultCloneImage)
|
||||
log.Error().Err(err).Msg("")
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue