From 43ef5b38691dac1e324b198285364bf9056118d9 Mon Sep 17 00:00:00 2001 From: Miguel Molina <1312023+erizocosmico@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:03:55 +0200 Subject: [PATCH] docker: register correct builtin function for Image.tags() --- starlark/module/docker/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starlark/module/docker/image.go b/starlark/module/docker/image.go index 346c0ad..e76e89f 100644 --- a/starlark/module/docker/image.go +++ b/starlark/module/docker/image.go @@ -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 }