Wednesday, 2023-11-15

fricklereandersson: do you have a reference to how this "lambda:" things works? I see it is already being used in some other locations, so it can't be too wrong, but I'm unsure whether changing old migration files is correct13:52
eanderssonfrickler: the old migration files is just returning it to how it worked before the bug was introduced14:57
eanderssonAs for lanbda just means that the config value now gets evaluated each time the object gets instantiated  14:58
eanderssonbtw there is a better description of the bug in my comments15:06
eanderssonhttps://bugs.launchpad.net/designate/+bug/2042944/comments/315:06
eanderssonThe reason lamdba (or a fucntion) works is because sqlalchemy checks if the value is callable15:24
eanderssonhttps://github.com/sqlalchemy/sqlalchemy/blob/447cafd12df4811e4701c8b39f48a927e5414f90/lib/sqlalchemy/sql/schema.py#L344915:24
eanderssonhttps://github.com/sqlalchemy/sqlalchemy/blob/447cafd12df4811e4701c8b39f48a927e5414f90/lib/sqlalchemy/sql/schema.py#L343415:25
fricklereandersson: ah, o.k., thx, +215:48
opendevreviewJan Hartkopf proposed openstack/designate master: Add support for catalog zones  https://review.opendev.org/c/openstack/designate/+/88559416:51
opendevreviewJan Hartkopf proposed openstack/designate master: Add catalog zone support to devstack plugin  https://review.opendev.org/c/openstack/designate/+/89281416:53
opendevreviewJan Hartkopf proposed openstack/designate master: Add support for catalog zones  https://review.opendev.org/c/openstack/designate/+/88559418:42

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!