@@ -78,7 +78,7 @@ func TestGet(t *testing.T) {
7878 LastTransitionTime : now ,
7979 },
8080 },
81- V1Beta2 : & builder.Phase1ObjStatusV1Beta2 {
81+ V1Beta2 : & builder.Phase1ObjV1Beta2Status {
8282 Conditions : []metav1.Condition {
8383 {
8484 Type : "barCondition" ,
@@ -112,8 +112,8 @@ func TestGet(t *testing.T) {
112112 foo := & builder.Phase2Obj {
113113 Status : builder.Phase2ObjStatus {
114114 Conditions : nil ,
115- Deprecated : & builder.Phase2ObjStatusDeprecated {
116- V1Beta1 : & builder.Phase2ObjStatusDeprecatedV1Beta1 {
115+ Deprecated : & builder.Phase2ObjDeprecatedStatus {
116+ V1Beta1 : & builder.Phase2ObjDeprecatedV1Beta1Status {
117117 Conditions : clusterv1.Conditions {
118118 {
119119 Type : "bazCondition" ,
@@ -135,8 +135,8 @@ func TestGet(t *testing.T) {
135135 foo := & builder.Phase2Obj {
136136 Status : builder.Phase2ObjStatus {
137137 Conditions : []metav1.Condition {},
138- Deprecated : & builder.Phase2ObjStatusDeprecated {
139- V1Beta1 : & builder.Phase2ObjStatusDeprecatedV1Beta1 {
138+ Deprecated : & builder.Phase2ObjDeprecatedStatus {
139+ V1Beta1 : & builder.Phase2ObjDeprecatedV1Beta1Status {
140140 Conditions : clusterv1.Conditions {
141141 {
142142 Type : "bazCondition" ,
@@ -165,8 +165,8 @@ func TestGet(t *testing.T) {
165165 Reason : "fooReason" ,
166166 },
167167 },
168- Deprecated : & builder.Phase2ObjStatusDeprecated {
169- V1Beta1 : & builder.Phase2ObjStatusDeprecatedV1Beta1 {
168+ Deprecated : & builder.Phase2ObjDeprecatedStatus {
169+ V1Beta1 : & builder.Phase2ObjDeprecatedV1Beta1Status {
170170 Conditions : clusterv1.Conditions {
171171 {
172172 Type : "bazCondition" ,
@@ -321,7 +321,7 @@ func TestUnstructuredGet(t *testing.T) {
321321 LastTransitionTime : now ,
322322 },
323323 },
324- V1Beta2 : & builder.Phase1ObjStatusV1Beta2 {
324+ V1Beta2 : & builder.Phase1ObjV1Beta2Status {
325325 Conditions : []metav1.Condition {
326326 {
327327 Type : "barCondition" ,
@@ -359,8 +359,8 @@ func TestUnstructuredGet(t *testing.T) {
359359 foo := & builder.Phase2Obj {
360360 Status : builder.Phase2ObjStatus {
361361 Conditions : nil ,
362- Deprecated : & builder.Phase2ObjStatusDeprecated {
363- V1Beta1 : & builder.Phase2ObjStatusDeprecatedV1Beta1 {
362+ Deprecated : & builder.Phase2ObjDeprecatedStatus {
363+ V1Beta1 : & builder.Phase2ObjDeprecatedV1Beta1Status {
364364 Conditions : clusterv1.Conditions {
365365 {
366366 Type : "bazCondition" ,
@@ -386,8 +386,8 @@ func TestUnstructuredGet(t *testing.T) {
386386 foo := & builder.Phase2Obj {
387387 Status : builder.Phase2ObjStatus {
388388 Conditions : []metav1.Condition {},
389- Deprecated : & builder.Phase2ObjStatusDeprecated {
390- V1Beta1 : & builder.Phase2ObjStatusDeprecatedV1Beta1 {
389+ Deprecated : & builder.Phase2ObjDeprecatedStatus {
390+ V1Beta1 : & builder.Phase2ObjDeprecatedV1Beta1Status {
391391 Conditions : clusterv1.Conditions {
392392 {
393393 Type : "bazCondition" ,
@@ -420,8 +420,8 @@ func TestUnstructuredGet(t *testing.T) {
420420 Reason : "fooReason" ,
421421 },
422422 },
423- Deprecated : & builder.Phase2ObjStatusDeprecated {
424- V1Beta1 : & builder.Phase2ObjStatusDeprecatedV1Beta1 {
423+ Deprecated : & builder.Phase2ObjDeprecatedStatus {
424+ V1Beta1 : & builder.Phase2ObjDeprecatedV1Beta1Status {
425425 Conditions : clusterv1.Conditions {
426426 {
427427 Type : "bazCondition" ,
0 commit comments