From 8ab3988f014f365416bdd8fe9a4bdfc4785342da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20S=C3=A1rai?= Date: Fri, 26 Jul 2024 16:44:24 +0200 Subject: [PATCH] feat(act): add logs --- pkg/check/act/act.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/check/act/act.go b/pkg/check/act/act.go index ff85762f6..5f861e476 100644 --- a/pkg/check/act/act.go +++ b/pkg/check/act/act.go @@ -166,7 +166,7 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int return fmt.Errorf("node %s: PatchActGrantees: %w", upNodeName, pErr) } - c.logger.Infof("ACT grantees patched %+v", pFile) + c.logger.Info("ACT grantees patched") // list grantees after patch patchAddresses, patchErr := upClient.GetActGrantees(ctx, pFile.Address()) @@ -179,6 +179,7 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int if len(patchAddresses) != 1 { return fmt.Errorf("node %s: GetActGrantees after patch: addresses length is not 1", upNodeName) } + c.logger.Info("ACT grantees listed after patch") history3 := pFile.HistroryAddress() gPublisher, _ := swarm.ParseHexAddress("02ceff1422a7026ba54ad89967d81f2805a55eb3d05f64eb5c49ea6024212b12e8")