elemental-operator/pkg/templater
Francesco Giudici 317de1e25a
Label Templates: improve Random family processing (#914)
* Label Templates: fix Random check

This commit fixes the panic occurring  with a malformed Random
template label (${Random}).

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* Label Templates: don't fail registration for a wrong label

A wrong Random label syntax causes an error that fails and stops
the registration process: don't stop the registration, just log the
error, skip the label and proceed.

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

---------

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2025-06-13 14:21:28 +02:00
..
random.go Label Templates: improve Random family processing (#914) 2025-06-13 14:21:28 +02:00
templater.go make linter happy - update copyright dates (#899) 2025-01-31 15:33:47 +01:00
templater_test.go make linter happy - update copyright dates (#899) 2025-01-31 15:33:47 +01:00