File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
pkg/cloudprovider/providers/oci/config Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 15
15
package config
16
16
17
17
import (
18
- "github.com/oracle/oci-cloud-controller-manager/pkg/oci/instance/metadata"
19
18
"io"
20
19
"os"
21
20
21
+ "github.com/oracle/oci-cloud-controller-manager/pkg/oci/instance/metadata"
22
+
22
23
"github.com/oracle/oci-go-sdk/v31/common"
23
24
"github.com/oracle/oci-go-sdk/v31/common/auth"
24
25
"github.com/pkg/errors"
@@ -180,6 +181,9 @@ func (c *AuthConfig) Complete() {
180
181
func (c * Config ) Complete () {
181
182
if c .LoadBalancer != nil {
182
183
c .LoadBalancer .Complete ()
184
+ } else {
185
+ c .LoadBalancer = & LoadBalancerConfig {}
186
+ c .LoadBalancer .Disabled = true
183
187
}
184
188
c .Auth .Complete ()
185
189
// Ensure backwards compatibility fields are set correctly.
You can’t perform that action at this time.
0 commit comments