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

Function welcome

cloudinit/cmd/main.py:130–134  ·  view source on GitHub ↗
(action, msg=None)

Source from the content-addressed store, hash-verified

128
129
130def welcome(action, msg=None):
131 if not msg:
132 msg = welcome_format(action)
133 log_util.multi_log("%s\n" % (msg), console=False, stderr=True, log=LOG)
134 return msg
135
136
137def welcome_format(action):

Callers 3

main_initFunction · 0.85
main_modulesFunction · 0.85
main_singleFunction · 0.85

Calls 1

welcome_formatFunction · 0.85

Tested by

no test coverage detected