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

Function welcome_format

cloudinit/cmd/main.py:137–143  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

135
136
137def welcome_format(action):
138 return WELCOME_MSG_TPL.format(
139 version=version.version_string(),
140 uptime=util.uptime(),
141 timestamp=util.time_rfc2822(),
142 action=action,
143 )
144
145
146@performance.timed("Closing stdin")

Callers 4

welcomeFunction · 0.85
main_initFunction · 0.85
main_modulesFunction · 0.85
main_singleFunction · 0.85

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected