@@ -69,7 +69,7 @@ func Test_syncStatus(t *testing.T) {
69
69
Generation : 8 ,
70
70
},
71
71
Spec : appsapi.DeploymentSpec {
72
- Replicas : pointer .Int32Ptr (3 ),
72
+ Replicas : pointer .Int32 (3 ),
73
73
},
74
74
Status : appsapi.DeploymentStatus {
75
75
Replicas : 3 ,
@@ -119,7 +119,7 @@ func Test_syncStatus(t *testing.T) {
119
119
Generation : 8 ,
120
120
},
121
121
Spec : appsapi.DeploymentSpec {
122
- Replicas : pointer .Int32Ptr (3 ),
122
+ Replicas : pointer .Int32 (3 ),
123
123
},
124
124
Status : appsapi.DeploymentStatus {
125
125
Replicas : 3 ,
@@ -206,7 +206,7 @@ func Test_syncStatus(t *testing.T) {
206
206
},
207
207
deploy : & appsapi.Deployment {
208
208
Spec : appsapi.DeploymentSpec {
209
- Replicas : pointer .Int32Ptr (3 ),
209
+ Replicas : pointer .Int32 (3 ),
210
210
},
211
211
Status : appsapi.DeploymentStatus {
212
212
AvailableReplicas : 2 ,
@@ -250,7 +250,7 @@ func Test_syncStatus(t *testing.T) {
250
250
},
251
251
deploy : & appsapi.Deployment {
252
252
Spec : appsapi.DeploymentSpec {
253
- Replicas : pointer .Int32Ptr (3 ),
253
+ Replicas : pointer .Int32 (3 ),
254
254
},
255
255
Status : appsapi.DeploymentStatus {
256
256
AvailableReplicas : 2 ,
@@ -301,7 +301,7 @@ func Test_syncStatus(t *testing.T) {
301
301
},
302
302
deploy : & appsapi.Deployment {
303
303
Spec : appsapi.DeploymentSpec {
304
- Replicas : pointer .Int32Ptr (3 ),
304
+ Replicas : pointer .Int32 (3 ),
305
305
},
306
306
Status : appsapi.DeploymentStatus {
307
307
AvailableReplicas : 2 ,
@@ -717,7 +717,7 @@ func Test_syncStatus(t *testing.T) {
717
717
Generation : 8 ,
718
718
},
719
719
Spec : appsapi.DeploymentSpec {
720
- Replicas : pointer .Int32Ptr (3 ),
720
+ Replicas : pointer .Int32 (3 ),
721
721
},
722
722
Status : appsapi.DeploymentStatus {
723
723
Replicas : 3 ,
0 commit comments