Skip to content

Commit

Permalink
Merge pull request #38 from alcounit/develop
Browse files Browse the repository at this point in the history
Fix commit 418a684
  • Loading branch information
alcounit authored May 2, 2021
2 parents 48098cd + c49fe7a commit 9e1e125
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions selenosis.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,9 @@ func New(logger *log.Logger, client platform.Platform, browsers *config.Browsers

ch := client.Watch()
go func() {
for event := <-ch: {


}
for {
select {
case event := <-ch:
case event := <- ch:
switch event.PlatformObject.(type) {
case *platform.Service:
service := event.PlatformObject.(*platform.Service)
Expand Down

0 comments on commit 9e1e125

Please sign in to comment.