Closed reetasingh closed 10 months ago
Hi @reetasingh. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
/lgtm
/ok-to-test
/retest
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: harshanarayana, reetasingh
The full list of commands accepted by this bot can be found here.
The pull request process is described here
fixes #369 369
What type of PR is this?
/kind bug /kind regression
What this PR does / why we need it:
Remove unnecessary call to
cfg.client.RestConfig
inCreateClusterWithConfig
. The cfg.Client() function expects cfg.kubeconfig to be set before calling. This is raising panic. Also the cfg.Client().RESTConfig() returns a restconfig which is not used anywhere in that function.Which issue(s) this PR fixes:
Fixes # https://github.com/kubernetes-sigs/e2e-framework/issues/369
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., Usage docs, etc.: