Skip to content

Commit

Permalink
remove debugInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmahou committed Mar 21, 2024
1 parent aaaa501 commit f84c99e
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 354 deletions.
10 changes: 1 addition & 9 deletions config/tests/samples/create/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ import (
"testing"
"time"

"gopkg.in/dnaeon/go-vcr.v3/recorder"

"github.com/go-logr/logr"
transport_tpg "github.com/hashicorp/terraform-provider-google-beta/google-beta/transport"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
cloudresourcemanagerv1 "google.golang.org/api/cloudresourcemanager/v1"
"google.golang.org/api/option"
"gopkg.in/dnaeon/go-vcr.v3/recorder"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/types"
Expand Down Expand Up @@ -326,17 +325,10 @@ func NewHarness(ctx context.Context, t *testing.T) *Harness {
}
r, err := recorder.NewWithOptions(opts)
if err != nil {
<<<<<<< HEAD
t.Fatalf("[VCR] Failed create vcr recorder: %v", err)
}
h.VCRRecorder = r
ret = &http.Client{Transport: h.VCRRecorder}
=======
t.Fatalf("creat vcr recorder failed: %v", err)
}
h.Rec = r
ret = &http.Client{Transport: h.Rec}
>>>>>>> e848f5336 (add hook)
return ret
}
} else {
Expand Down
Loading

0 comments on commit f84c99e

Please sign in to comment.