Skip to content

Commit 8332560

Browse files
committed
minor fixes
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
1 parent 911e68a commit 8332560

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/controllers/workapplier/controller.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,10 +636,10 @@ func (r *Reconciler) ensureAppliedWork(ctx context.Context, work *fleetv1beta1.W
636636
return nil, controller.NewAPIServerError(false, err)
637637
}
638638
}
639-
if err := r.spokeClient.Get(ctx, types.NamespacedName{Name: workRef.Name}, appliedWork); err != nil {
640-
klog.ErrorS(err, "Failed to get the appliedWork", "appliedWork", appliedWork.Name)
641-
return nil, controller.NewAPIServerError(false, err)
642-
}
639+
//if err := r.spokeClient.Get(ctx, types.NamespacedName{Name: workRef.Name}, appliedWork); err != nil {
640+
// klog.ErrorS(err, "Failed to get the appliedWork", "appliedWork", appliedWork.Name)
641+
// return nil, controller.NewAPIServerError(false, err)
642+
//}
643643
klog.InfoS("Recreated the appliedWork resource", "appliedWork", workRef.Name)
644644
return appliedWork, nil
645645
}

test/e2e/placement_pickall_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"github.com/kubefleet-dev/kubefleet/test/e2e/framework"
3232
)
3333

34-
var _ = FDescribe("placing resources using a CRP with no placement policy specified", Ordered, func() {
34+
var _ = Describe("placing resources using a CRP with no placement policy specified", Ordered, func() {
3535
crpName := fmt.Sprintf(crpNameTemplate, GinkgoParallelProcess())
3636

3737
BeforeAll(func() {

0 commit comments

Comments
 (0)