MCPcopy Create free account
hub / github.com/canonical/cloud-init / _process_before_attach

Method _process_before_attach

cloudinit/user_data.py:200–203  ·  view source on GitHub ↗
(self, msg, attached_id)

Source from the content-addressed store, hash-verified

198 )
199
200 def _process_before_attach(self, msg, attached_id):
201 if not msg.get_filename():
202 _set_filename(msg, PART_FN_TPL % (attached_id))
203 self._attach_launch_index(msg)
204
205 def _do_include(self, content, append_msg):
206 # Include a list of urls, one per line

Callers 1

_attach_partMethod · 0.95

Calls 2

_attach_launch_indexMethod · 0.95
_set_filenameFunction · 0.85

Tested by

no test coverage detected