diff --git a/pkg/check/act/act.go b/pkg/check/act/act.go index 6ddfb3ee7..2c4333a16 100644 --- a/pkg/check/act/act.go +++ b/pkg/check/act/act.go @@ -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() { c.logger.Infof("Node %s: %+v", name, node.Config()) c.logger.Info("-------------------") @@ -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)