@@ -2357,7 +2357,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2357
2357
wantUpdates : & availableUpdates {
2358
2358
UpdateService : "" ,
2359
2359
Channel : "fast" ,
2360
- Architecture : "amd64" ,
2360
+ Architecture : runtime . GOARCH ,
2361
2361
Condition : configv1.ClusterOperatorStatusCondition {
2362
2362
Type : configv1 .RetrievedUpdates ,
2363
2363
Status : configv1 .ConditionFalse ,
@@ -2400,7 +2400,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2400
2400
wantUpdates : & availableUpdates {
2401
2401
UpdateService : "http://localhost:8080/graph" ,
2402
2402
Channel : "" ,
2403
- Architecture : "amd64" ,
2403
+ Architecture : runtime . GOARCH ,
2404
2404
Condition : configv1.ClusterOperatorStatusCondition {
2405
2405
Type : configv1 .RetrievedUpdates ,
2406
2406
Status : configv1 .ConditionFalse ,
@@ -2442,7 +2442,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2442
2442
wantUpdates : & availableUpdates {
2443
2443
UpdateService : "http://localhost:8080/graph" ,
2444
2444
Channel : "fast" ,
2445
- Architecture : "amd64" ,
2445
+ Architecture : runtime . GOARCH ,
2446
2446
Condition : configv1.ClusterOperatorStatusCondition {
2447
2447
Type : configv1 .RetrievedUpdates ,
2448
2448
Status : configv1 .ConditionFalse ,
@@ -2491,7 +2491,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2491
2491
wantUpdates : & availableUpdates {
2492
2492
UpdateService : "http://localhost:8080/graph" ,
2493
2493
Channel : "fast" ,
2494
- Architecture : "amd64" ,
2494
+ Architecture : runtime . GOARCH ,
2495
2495
Condition : configv1.ClusterOperatorStatusCondition {
2496
2496
Type : configv1 .RetrievedUpdates ,
2497
2497
Status : configv1 .ConditionFalse ,
@@ -2555,7 +2555,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2555
2555
wantUpdates : & availableUpdates {
2556
2556
UpdateService : "http://localhost:8080/graph" ,
2557
2557
Channel : "fast" ,
2558
- Architecture : "amd64" ,
2558
+ Architecture : runtime . GOARCH ,
2559
2559
Current : configv1.Release {
2560
2560
Version : "4.0.1" ,
2561
2561
Image : "image/image:v4.0.1" ,
@@ -2622,7 +2622,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2622
2622
wantUpdates : & availableUpdates {
2623
2623
UpdateService : "http://localhost:8080/graph" ,
2624
2624
Channel : "fast" ,
2625
- Architecture : "amd64" ,
2625
+ Architecture : runtime . GOARCH ,
2626
2626
Current : configv1.Release {Version : "4.0.1" , Image : "image/image:v4.0.1" },
2627
2627
Updates : []configv1.Release {
2628
2628
{Version : "4.0.2" , Image : "image/image:v4.0.2" },
@@ -2723,7 +2723,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2723
2723
wantUpdates : & availableUpdates {
2724
2724
UpdateService : "http://localhost:8080/graph" ,
2725
2725
Channel : "fast" ,
2726
- Architecture : "amd64" ,
2726
+ Architecture : runtime . GOARCH ,
2727
2727
Condition : configv1.ClusterOperatorStatusCondition {
2728
2728
Type : configv1 .RetrievedUpdates ,
2729
2729
Status : configv1 .ConditionFalse ,
0 commit comments