Skip to content

Commit

Permalink
runtime migration: remove crds path
Browse files Browse the repository at this point in the history
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
  • Loading branch information
hasheddan committed Aug 21, 2019
1 parent eb54c78 commit e4d61ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
12 changes: 0 additions & 12 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions pkg/test/envtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"
"strconv"

corev1 "k8s.io/api/core/v1"
Expand All @@ -39,11 +38,6 @@ const (
testAssetUseExistingCluster = "USE_EXISTING_CLUSTER"
)

var (
_, b, _, _ = runtime.Caller(0)
crds = filepath.Join(filepath.Dir(filepath.Dir(filepath.Dir(b))), "cluster", "charts", "crossplane", "crds")
)

// Env - wrapper for controller-runtime envtest with additional functionality
type Env struct {
envtest.Environment
Expand Down Expand Up @@ -195,8 +189,3 @@ func Expand(path string) ([]string, error) {
}
return rs, nil
}

// CRDs path to project crds location
func CRDs() string {
return crds
}

0 comments on commit e4d61ee

Please sign in to comment.