Skip to content

Commit

Permalink
(choria-io#2169) Pass choria federations to external discovery agent
Browse files Browse the repository at this point in the history
  • Loading branch information
vjanelle committed May 6, 2024
1 parent fd83ec4 commit 980b28e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inter/imocks/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ func NewFrameworkForTests(ctrl *gomock.Controller, logWriter io.Writer, opts ...
retval := strings.Split(os.Getenv("CHORIA_FED_COLLECTIVE"), ",")
if retval[0] == "" {
return []string{}
} else {
return retval
}
return retval
}).AnyTimes()
fw.EXPECT().HasCollective(gomock.AssignableToTypeOf("")).DoAndReturn(func(c string) bool {
for _, collective := range fw.Configuration().Collectives {
Expand Down

0 comments on commit 980b28e

Please sign in to comment.