Browse Source

log nodemeta from_node_name config

master
Sean Johnson 1 year ago
parent
commit
d065e72fc2
  1. 2
      _modules/nodemeta.py

2
_modules/nodemeta.py

@ -58,7 +58,7 @@ def _grains_from_name(cfg): @@ -58,7 +58,7 @@ def _grains_from_name(cfg):
hostname = _get_hostname(cfg)
rematch = _regex.search(hostname)
if rematch is None:
log.warning(f"Could not parse grains from subject `{hostname}`")
log.warning(f"Could not parse grains from subject `{hostname}` ({cfg})")
return {}
return {

Loading…
Cancel
Save