From d3dff8c626584831cb29e9e73b5afc63ce42630a Mon Sep 17 00:00:00 2001 From: kerthcet Date: Wed, 26 Oct 2022 12:52:28 +0800 Subject: [PATCH] Fix unit test in cmd Signed-off-by: kerthcet --- cmd/controller-manager/app/options/options_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/controller-manager/app/options/options_test.go b/cmd/controller-manager/app/options/options_test.go index 50311c3e0d..120718bfeb 100644 --- a/cmd/controller-manager/app/options/options_test.go +++ b/cmd/controller-manager/app/options/options_test.go @@ -52,6 +52,7 @@ func TestAddFlags(t *testing.T) { MaxRequeueNum: defaultMaxRequeueNum, HealthzBindAddress: ":11251", DetectionPeriodOfDependsOntask: defaultDetectionPeriodOfDependsOntask, + InheritOwnerAnnotations: true, } if !reflect.DeepEqual(expected, s) {