Skip to content

Commit

Permalink
docker: register correct builtin function for Image.tags()
Browse files Browse the repository at this point in the history
  • Loading branch information
erizocosmico authored Oct 16, 2024
1 parent ca95f0f commit 43ef5b3
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 43ef5b3

Please sign in to comment.