We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f23578 commit 0150f3dCopy full SHA for 0150f3d
integration-tests/suites/k8s/config_reload.go
@@ -18,20 +18,13 @@ var (
18
)
19
20
func init() {
21
- var err error
22
var runtimeConfig types.RuntimeConfig
23
runtimeConfig.Networking.ExternalIps.Enabled = "ENABLED"
24
25
- EXT_IP_ENABLE, err = runtimeConfig.GetRuntimeConfigStr()
26
- if err != nil {
27
- panic(err)
28
- }
29
-
+ EXT_IP_ENABLE = runtimeConfig.String()
30
runtimeConfig.Networking.ExternalIps.Enabled = "DISABLED"
31
- EXT_IP_DISABLE, err = runtimeConfig.GetRuntimeConfigStr()
32
33
34
+
+ EXT_IP_DISABLE = runtimeConfig.String()
35
}
36
37
type K8sConfigReloadTestSuite struct {
0 commit comments