Skip to content

Commit c1536d9

Browse files
committed
logging > fmt
1 parent 20c0242 commit c1536d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helper/resource/testing_new_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@ func testStepNewConfig(ctx context.Context, t testing.T, c TestCase, wd *plugint
455455
if len(c.Steps) > stepIndex+1 {
456456
// If the next step is a refresh, then we have no need to refresh here
457457
if !c.Steps[stepIndex+1].RefreshState {
458-
// Echo a searchable message to easily determine when this is no longer being used
459-
fmt.Println(EnvTfAccRefreshAfterApply+":", "running apply -refresh-only -refresh=true")
458+
// Log a searchable message to easily determine when this is no longer being used
459+
logging.HelperResourceDebug(ctx, EnvTfAccRefreshAfterApply+": running apply -refresh-only -refresh=true")
460460
err := runProviderCommandApplyRefreshOnly(ctx, t, wd, providers)
461461
if err != nil {
462462
return fmt.Errorf("Error running apply refresh-only: %w", err)

0 commit comments

Comments
 (0)