Skip to content

Commit

Permalink
Set staticConfigManifestDir for NewCLIWithFramework
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Mar 24, 2023
1 parent ffd5e00 commit 398aba3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/extended/util/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ type resourceRef struct {
// framework. It can be called inside of a Ginkgo .It() function.
func NewCLIWithFramework(kubeFramework *framework.Framework) *CLI {
cli := &CLI{
kubeFramework: kubeFramework,
username: "admin",
execPath: "oc",
adminConfigPath: KubeConfigPath(),
kubeFramework: kubeFramework,
username: "admin",
execPath: "oc",
adminConfigPath: KubeConfigPath(),
staticConfigManifestDir: StaticConfigManifestDir(),
}
// Called only once (assumed the objects will never get modified)
// TODO: run in every BeforeEach
Expand Down

0 comments on commit 398aba3

Please sign in to comment.