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

Function _replace_header

cloudinit/user_data.py:59–61  ·  view source on GitHub ↗
(msg, key, value)

Source from the content-addressed store, hash-verified

57
58
59def _replace_header(msg, key, value):
60 del msg[key]
61 msg[key] = value
62
63
64def _set_filename(msg, filename):

Callers 2

_process_msgMethod · 0.85
_multi_part_countMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected