Skip to content

Commit 207b621

Browse files
fixup! Register optional dig dependency
Signed-off-by: Alexandros Filios <[email protected]>
1 parent 591a1bf commit 207b621

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: integration/fabric/iou/sdk.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ type SDK struct {
2323
}
2424

2525
func NewSDK(registry node.Registry) *SDK {
26-
return &SDK{SDK: sdk.NewFrom(vfsdk.NewSDK(registry))}
26+
return NewFrom(sdk.NewFrom(vfsdk.NewSDK(registry)))
27+
}
28+
29+
func NewFrom(sdk dig2.SDK) *SDK {
30+
return &SDK{SDK: sdk}
2731
}
2832

2933
func (p *SDK) Install() error {

0 commit comments

Comments
 (0)