Skip to content

Commit a675251

Browse files
committed
feat: replace deprecated fx.Extract function by fx.Populate
This literally does nothing in our case, the only different between them is that Populate supports embeds while Extract doesn't. However Extract is deprecated and this anoys staticcheck which makes CI fail.
1 parent b08e0ea commit a675251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) {
8484
return nil, fmt.Errorf("building fx opts: %w", err)
8585
}
8686
}
87-
opts = append(opts, fx.Extract(n))
87+
opts = append(opts, fx.Populate(n))
8888

8989
app := fx.New(opts...)
9090

0 commit comments

Comments
 (0)