diff options
-rw-r--r-- | cloudinit/handlers/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cloudinit/handlers/__init__.py b/cloudinit/handlers/__init__.py index d3374666..c6f2119c 100644 --- a/cloudinit/handlers/__init__.py +++ b/cloudinit/handlers/__init__.py @@ -104,7 +104,9 @@ def run_part(mod, data, ctype, filename, payload, frequency): except: mod_ver = 1 try: - if mod_ver and mod_ver >= 2: + LOG.debug("Calling handler %s (%s, %s, %s) with frequency %s", + mod, ctype, filename, mod_ver, frequency) + if mod_ver >= 2: # Treat as v. 2 which does get a frequency mod.handle_part(data, ctype, filename, payload, frequency) else: |