Skip to content

Commit

Permalink
feat(act): log out patch file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferenc Sárai committed Jul 29, 2024
1 parent 37d0f72 commit 52171b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/check/act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
return fmt.Errorf("node %s: PatchActGrantees: %w", upNodeName, pErr)
}

c.logger.Info("ACT grantees patched")
c.logger.Infof("ACT grantees patched: %+v", pFile)

// list grantees after patch
patchAddresses, patchErr := upClient.GetActGrantees(ctx, pFile.Address())
Expand All @@ -200,9 +200,9 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int

// download act file
pubk := pubk1
c.logger.Infof("ref: %v, act: %v, pubk: %v, history: %v", fileAddress, act, pubk, history)
c.logger.Infof("config: %+v", client1.Config())
his := pFile.HistroryAddress()
c.logger.Infof("ref: %v, act: %v, pubk: %v, history: %v", fileAddress, act, pubk, his)
size1, hash1, err1 := client1.DownloadActFile(ctx, fileAddress, &api.DownloadOptions{Act: &act, ActPublicKey: &pubk, ActHistoryAddress: &his})
if err1 != nil {
return fmt.Errorf("node %s: %w", nodeName1, err1)
Expand Down

0 comments on commit 52171b7

Please sign in to comment.