Drop progress reporting from banner tracker reset
The ResetProgressFunc callback streamed per-phase messages from inside the reset transaction, so a rollback could leave already-printed progress describing work that never committed. Remove the callback entirely; the final result summary printed by proboctl still conveys the outcome without the misleading intermediate output. Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
@@ -85,7 +85,7 @@ func TestResetBannerTrackers_FullRebuild(t *testing.T) {
|
||||
return nil
|
||||
}))
|
||||
|
||||
result, err := ResetBannerTrackers(ctx, client, fx.scope, fx.banner.ID, false, nil, nil)
|
||||
result, err := ResetBannerTrackers(ctx, client, fx.scope, fx.banner.ID, false, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
require.Equal(t, 1, result.GlobsDecomposed)
|
||||
|
||||
Reference in New Issue
Block a user