Skip to content

Commit 901d01c

Browse files
committed
Fix parrot image mirror
1 parent 63ae47b commit 901d01c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/docker/test_env/parrot.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"github.com/smartcontractkit/chainlink-testing-framework/parrot"
2121
)
2222

23-
const defaultParrotImage = "kalverra/parrot:v0.5.0"
23+
const defaultParrotImage = "kalverra/parrot"
2424

2525
// Parrot is a test environment component that wraps a Parrot server.
2626
type Parrot struct {
@@ -120,7 +120,10 @@ func (p *Parrot) StartContainer() error {
120120
}
121121

122122
func (p *Parrot) getContainerRequest() (tc.ContainerRequest, error) {
123-
pImage := mirror.AddMirrorToImageIfSet(defaultParrotImage)
123+
pImage := mirror.AddMirrorToImageIfSet("parrot")
124+
if pImage == "" || pImage == "parrot" {
125+
pImage = defaultParrotImage
126+
}
124127

125128
return tc.ContainerRequest{
126129
Name: p.ContainerName,

0 commit comments

Comments
 (0)