diff options
-rw-r--r-- | cloudinit/sources/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py index a1939d58..a3f4af1e 100644 --- a/cloudinit/sources/__init__.py +++ b/cloudinit/sources/__init__.py @@ -72,6 +72,8 @@ class DataSource(object): return None def _filter_userdata(self, processed_ud): + if not processed_ud: + return processed_ud idx = self.get_launch_index() if idx is None: return processed_ud |