Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
def
_replace_header(msg, key, value):
60
del msg[key]
61
msg[key] = value
62
63
64
def
_set_filename(msg, filename):
Callers
2
_process_msg
Method · 0.85
_multi_part_count
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected