mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Surface error returned by LoadConfig
This commit is contained in:
parent
12f36302f9
commit
84b53966fd
@ -162,6 +162,7 @@ func (f *Framework) BeforeEach() {
|
||||
if f.ClientSet == nil {
|
||||
ginkgo.By("Creating a kubernetes client")
|
||||
config, err := LoadConfig()
|
||||
ExpectNoError(err)
|
||||
testDesc := ginkgo.CurrentGinkgoTestDescription()
|
||||
if len(testDesc.ComponentTexts) > 0 {
|
||||
componentTexts := strings.Join(testDesc.ComponentTexts, " ")
|
||||
@ -171,7 +172,6 @@ func (f *Framework) BeforeEach() {
|
||||
componentTexts)
|
||||
}
|
||||
|
||||
ExpectNoError(err)
|
||||
config.QPS = f.Options.ClientQPS
|
||||
config.Burst = f.Options.ClientBurst
|
||||
if f.Options.GroupVersion != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user