Skip to content

Commit

Permalink
feat: small change
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilmhdh committed Feb 26, 2025
1 parent c96f756 commit 8c72a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/packages/cmd/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ var gatewayCmd = &cobra.Command{
time.Sleep(5 * time.Second)
continue
}

if err := gatewayInstance.Listen(ctx); err == nil {
err = gatewayInstance.Listen(ctx)
if err == nil {
// meaning everything went smooth and we are exiting
return
}
Expand Down

0 comments on commit 8c72a20

Please sign in to comment.