Skip to content

Commit

Permalink
feat(act): fix bee order
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferenc Sárai committed Jul 30, 2024
1 parent 372aeed commit ed275fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/check/act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
return err
}

cluster.

for name, node := range cluster.Nodes() {

Check failure on line 71 in pkg/check/act/act.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

syntax error: unexpected for, expected name or ( (typecheck)

Check failure on line 71 in pkg/check/act/act.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

expected selector or type assertion, found 'for' (typecheck)

Check failure on line 71 in pkg/check/act/act.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

syntax error: unexpected for, expected name or () (typecheck)

Check failure on line 71 in pkg/check/act/act.go

View workflow job for this annotation

GitHub Actions / Build (macos-latest)

syntax error: unexpected for, expected name or (
c.logger.Infof("Node %s: %+v", name, node.Config())
c.logger.Info("-------------------")
Expand All @@ -86,19 +88,19 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
publisher, _ := swarm.ParseHexAddress(addr.PublicKey)

//nodeName1 := sortedNodes[1]
nodeName1 := fullNodes[1]
nodeName1 := fullNodes[0]
client1 := clients[nodeName1]
addr1, _ := client1.Addresses(ctx)
pubk1, _ := swarm.ParseHexAddress(addr1.PublicKey)

//nodeName2 := sortedNodes[2]
nodeName2 := fullNodes[2]
nodeName2 := fullNodes[1]
client2 := clients[nodeName2]
addr2, _ := client2.Addresses(ctx)
pubk2, _ := swarm.ParseHexAddress(addr2.PublicKey)

//odeName3 := sortedNodes[3]
nodeName3 := fullNodes[3]
nodeName3 := fullNodes[2]
client3 := clients[nodeName3]
addr3, _ := client3.Addresses(ctx)
pubk3, _ := swarm.ParseHexAddress(addr3.PublicKey)
Expand Down

0 comments on commit ed275fd

Please sign in to comment.