Skip to content

Commit

Permalink
chore: use stage name in cloud-init log for better clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
holmanb committed Sep 19, 2024
1 parent 78c49f3 commit 446fee4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudinit/cmd/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1277,15 +1277,15 @@ def sub_main(args):
report_on = True
if name == "init":
if args.local:
rname, rdesc = ("init-local", "searching for local datasources")
rname, rdesc = ("local", "searching for local datasources")
else:
rname, rdesc = (
"init-network",
"network",
"searching for network datasources",
)
elif name == "modules":
rname, rdesc = (
"modules-%s" % args.mode,
args.mode,
"running modules for %s" % args.mode,
)
elif name == "single":
Expand Down

0 comments on commit 446fee4

Please sign in to comment.