Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/e2e/framework/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package framework

import (
"context"
"io/ioutil"
apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/client-go/kubernetes/scheme"
"os"
"path/filepath"
"testing"
"time"
Expand Down Expand Up @@ -80,7 +80,7 @@ func (f *Framework) buildConfigMap(o metav1.ObjectMeta, config string) (*v1.Conf
// ReadManifest reads a manifest from the provided path.
func (f *Framework) ReadManifest(manifestPath string) ([]byte, error) {
manifestPath = filepath.Clean(manifestPath)
return ioutil.ReadFile(manifestPath)
return os.ReadFile(manifestPath)
}

// BuildCRD builds a CRD from the provided manifest.
Expand Down