Skip to content

Commit 3add9b2

Browse files
authoredFeb 29, 2024··
Feature: PowerVS cluster creation with dynamic resource creation (#1608)
* api changes to support infra creation * controller changes to support infra creation * scope changes to create infra creation * package files changes to support infra creation * docs changes to support infra creation * go module changes * Fix test failures Signed-off-by: Prajyot-Parab <prajyot.parab2@ibm.com> --------- Signed-off-by: Prajyot-Parab <prajyot.parab2@ibm.com>
1 parent 469a6ba commit 3add9b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+5225
-348
lines changed
 

‎api/v1beta1/ibmpowervs_conversion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func Convert_v1beta2_IBMPowerVSMachineSpec_To_v1beta1_IBMPowerVSMachineSpec(in *
195195
}
196196

197197
func Convert_v1beta2_IBMPowerVSClusterSpec_To_v1beta1_IBMPowerVSClusterSpec(in *infrav1beta2.IBMPowerVSClusterSpec, out *IBMPowerVSClusterSpec, s apiconversion.Scope) error {
198-
if in.ServiceInstance.ID != nil {
198+
if in.ServiceInstance != nil && in.ServiceInstance.ID != nil {
199199
out.ServiceInstanceID = *in.ServiceInstance.ID
200200
}
201201
return autoConvert_v1beta2_IBMPowerVSClusterSpec_To_v1beta1_IBMPowerVSClusterSpec(in, out, s)

‎api/v1beta1/zz_generated.conversion.go

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.