diff --git a/README.md b/README.md index 5ee79ed3e8..a8637b15c8 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,8 @@ func TestIntegrationNginxLatestReturn(t *testing.T) { // Clean up the container after the test is complete defer func() { - if err := nginxC.terminate(ctx); err != nil { - t.Fatalf("failed to terminate container: %w", err) + if err := nginxC.Terminate(ctx); err != nil { + t.Fatalf("failed to terminate container: %v", err) } }()