Skip to content

Commit a5445ee

Browse files
fixup! Register optional dig dependency
Signed-off-by: Alexandros Filios <[email protected]>
1 parent 5df9a50 commit a5445ee

File tree

1 file changed

+1
-1
lines changed
  • platform/common/utils/dig

1 file changed

+1
-1
lines changed

Diff for: platform/common/utils/dig/dig.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func Register[T any](c invoker) error {
4444
return nil
4545
}
4646

47-
func RegisterOptional[T any](c *dig.Container) error {
47+
func RegisterOptional[T any](c invoker) error {
4848
//Temporary workaround for services that are imported still using the registry
4949
err := c.Invoke(func(in struct {
5050
dig.In

0 commit comments

Comments
 (0)