aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/container.go')
-rw-r--r--container/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/container.go b/container/container.go
index 3ba87dad..1e23897d 100644
--- a/container/container.go
+++ b/container/container.go
@@ -404,7 +404,7 @@ func (p *Container) ProcessState() *os.ProcessState {
// New returns the address to a new instance of [Container] that requires further initialisation before use.
func New(ctx context.Context, msg message.Msg) *Container {
if msg == nil {
- msg = message.NewMsg(nil)
+ msg = message.New(nil)
}
p := &Container{ctx: ctx, msg: msg, Params: Params{Ops: new(Ops)}}