Skip to content

Commit

Permalink
sdk fix
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro committed Nov 14, 2024
1 parent c0a7a77 commit 97e2c7a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions integration/token/common/sdk/fall/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,13 @@ func (p *SDK) Start(ctx context.Context) error {
return err
}

return errors.Join(
p.Container().Invoke(registerInteropStateDrivers),
)
fabricEnabled := p.ConfigService().GetBool("fabric.enabled")
if fabricEnabled {
return errors.Join(
p.Container().Invoke(registerInteropStateDrivers),
)
}
return nil
}

func registerInteropStateDrivers(in struct {
Expand Down

0 comments on commit 97e2c7a

Please sign in to comment.