@@ -1047,74 +1047,74 @@ func TestTrackInMemberClusterObjAvailability(t *testing.T) {
10471047 id : & fleetv1beta1.WorkResourceIdentifier {
10481048 Ordinal : 0 ,
10491049 },
1050- gvr : & utils .DeploymentGVR ,
1051- inMemberClusterObj : toUnstructured (t , availableDeploy ),
1052- applyResTyp : ManifestProcessingApplyResultTypeApplied ,
1050+ gvr : & utils .DeploymentGVR ,
1051+ inMemberClusterObj : toUnstructured (t , availableDeploy ),
1052+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeApplied ,
10531053 },
10541054 // A failed to get applied service.
10551055 {
10561056 id : & fleetv1beta1.WorkResourceIdentifier {
10571057 Ordinal : 1 ,
10581058 },
1059- gvr : & utils .ServiceGVR ,
1060- inMemberClusterObj : nil ,
1061- applyResTyp : ManifestProcessingApplyResultTypeFailedToApply ,
1059+ gvr : & utils .ServiceGVR ,
1060+ inMemberClusterObj : nil ,
1061+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeFailedToApply ,
10621062 },
10631063 // An unavailable daemon set.
10641064 {
10651065 id : & fleetv1beta1.WorkResourceIdentifier {
10661066 Ordinal : 2 ,
10671067 },
1068- gvr : & utils .DaemonSetGVR ,
1069- inMemberClusterObj : toUnstructured (t , unavailableDaemonSet ),
1070- applyResTyp : ManifestProcessingApplyResultTypeApplied ,
1068+ gvr : & utils .DaemonSetGVR ,
1069+ inMemberClusterObj : toUnstructured (t , unavailableDaemonSet ),
1070+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeApplied ,
10711071 },
10721072 // An untrackable job.
10731073 {
10741074 id : & fleetv1beta1.WorkResourceIdentifier {
10751075 Ordinal : 3 ,
10761076 },
1077- gvr : & utils .JobGVR ,
1078- inMemberClusterObj : toUnstructured (t , untrackableJob ),
1079- applyResTyp : ManifestProcessingApplyResultTypeApplied ,
1077+ gvr : & utils .JobGVR ,
1078+ inMemberClusterObj : toUnstructured (t , untrackableJob ),
1079+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeApplied ,
10801080 },
10811081 },
10821082 wantBundles : []* manifestProcessingBundle {
10831083 {
10841084 id : & fleetv1beta1.WorkResourceIdentifier {
10851085 Ordinal : 0 ,
10861086 },
1087- gvr : & utils .DeploymentGVR ,
1088- inMemberClusterObj : toUnstructured (t , availableDeploy ),
1089- applyResTyp : ManifestProcessingApplyResultTypeApplied ,
1090- availabilityResTyp : ManifestProcessingAvailabilityResultTypeAvailable ,
1087+ gvr : & utils .DeploymentGVR ,
1088+ inMemberClusterObj : toUnstructured (t , availableDeploy ),
1089+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeApplied ,
1090+ availabilityResTyp : ManifestProcessingAvailabilityResultTypeAvailable ,
10911091 },
10921092 {
10931093 id : & fleetv1beta1.WorkResourceIdentifier {
10941094 Ordinal : 1 ,
10951095 },
1096- gvr : & utils .ServiceGVR ,
1097- inMemberClusterObj : nil ,
1098- applyResTyp : ManifestProcessingApplyResultTypeFailedToApply ,
1099- availabilityResTyp : ManifestProcessingAvailabilityResultTypeSkipped ,
1096+ gvr : & utils .ServiceGVR ,
1097+ inMemberClusterObj : nil ,
1098+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeFailedToApply ,
1099+ availabilityResTyp : ManifestProcessingAvailabilityResultTypeSkipped ,
11001100 },
11011101 {
11021102 id : & fleetv1beta1.WorkResourceIdentifier {
11031103 Ordinal : 2 ,
11041104 },
1105- gvr : & utils .DaemonSetGVR ,
1106- inMemberClusterObj : toUnstructured (t , unavailableDaemonSet ),
1107- applyResTyp : ManifestProcessingApplyResultTypeApplied ,
1108- availabilityResTyp : ManifestProcessingAvailabilityResultTypeNotYetAvailable ,
1105+ gvr : & utils .DaemonSetGVR ,
1106+ inMemberClusterObj : toUnstructured (t , unavailableDaemonSet ),
1107+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeApplied ,
1108+ availabilityResTyp : ManifestProcessingAvailabilityResultTypeNotYetAvailable ,
11091109 },
11101110 {
11111111 id : & fleetv1beta1.WorkResourceIdentifier {
11121112 Ordinal : 3 ,
11131113 },
1114- gvr : & utils .JobGVR ,
1115- inMemberClusterObj : toUnstructured (t , untrackableJob ),
1116- applyResTyp : ManifestProcessingApplyResultTypeApplied ,
1117- availabilityResTyp : ManifestProcessingAvailabilityResultTypeNotTrackable ,
1114+ gvr : & utils .JobGVR ,
1115+ inMemberClusterObj : toUnstructured (t , untrackableJob ),
1116+ applyOrReportDiffResTyp : ApplyOrReportDiffResTypeApplied ,
1117+ availabilityResTyp : ManifestProcessingAvailabilityResultTypeNotTrackable ,
11181118 },
11191119 },
11201120 },
0 commit comments