Skip to content

Commit

Permalink
Merge pull request #6 from erizocosmico/patch-1
Browse files Browse the repository at this point in the history
docker: register correct builtin function for Image.tags()
  • Loading branch information
mcuadros authored Oct 21, 2024
2 parents ca95f0f + 43ef5b3 commit 5781925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlark/module/docker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (i *image) Attr(name string) (starlark.Value, error) {
name := i.ref.DockerReference()
return starlark.String(reference.Path(name)), nil
case "tags":
return starlark.NewBuiltin("tags", i.builtinVersionFunc), nil
return starlark.NewBuiltin("tags", i.builtinTagsFunc), nil
case "version":
return starlark.NewBuiltin("version", i.builtinVersionFunc), nil
}
Expand Down

0 comments on commit 5781925

Please sign in to comment.