Skip to content

Commit

Permalink
feat(act): patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferenc Sárai committed Jul 29, 2024
1 parent 132baa9 commit 62f21ef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/check/act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
return fmt.Errorf("node %s: %w", upNodeName, uErr)
}
c.logger.Info("ACT file uploaded")
c.logger.Infof("ACT file uploaded. History: %v", file.HistroryAddress())

time.Sleep(1 * time.Second)

Expand Down Expand Up @@ -159,8 +158,8 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
if addresses == nil {
return fmt.Errorf("node %s: GetActGrantees: addresses is nil", upNodeName)
}
if len(addresses) != 3 {
return fmt.Errorf("node %s: GetActGrantees: addresses length is not 3", upNodeName)
if len(addresses) != 2 {
return fmt.Errorf("node %s: GetActGrantees: addresses length is not 2", upNodeName)
}

c.logger.Info("ACT grantees listed")
Expand Down

0 comments on commit 62f21ef

Please sign in to comment.