From ae66b3d2fb2f1f65f6ca8932e8044114e609d0b4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 3 Nov 2025 01:49:27 +0900 Subject: message: rename NewMsg to New Should have done this when relocating this from container. Now is a good time to rename it before v0.3.x. Signed-off-by: Ophestra --- container/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/init.go') diff --git a/container/init.go b/container/init.go index 5c4d2519..fd513efd 100644 --- a/container/init.go +++ b/container/init.go @@ -461,7 +461,7 @@ func TryArgv0(msg message.Msg) { if msg == nil { log.SetPrefix(initName + ": ") log.SetFlags(0) - msg = message.NewMsg(log.Default()) + msg = message.New(log.Default()) } if len(os.Args) > 0 && path.Base(os.Args[0]) == initName { -- cgit v1.3.1