From 47c86190fd661191616a7101a5dc43cf35c9b8f9 Mon Sep 17 00:00:00 2001 From: kpharasi Date: Mon, 9 Dec 2024 15:55:09 -0800 Subject: [PATCH] Adding replica count check Signed-off-by: kpharasi --- admiral/pkg/controller/admiral/delegator_mock_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admiral/pkg/controller/admiral/delegator_mock_test.go b/admiral/pkg/controller/admiral/delegator_mock_test.go index b0e9aaba..924246d3 100644 --- a/admiral/pkg/controller/admiral/delegator_mock_test.go +++ b/admiral/pkg/controller/admiral/delegator_mock_test.go @@ -15,6 +15,10 @@ func (m *MockDelegator) DoesGenerationMatch(ctx *log.Entry, i interface{}, i2 in return false, nil } +func (m *MockDelegator) IsOnlyReplicaCountChanged(ctx *log.Entry, i interface{}, i2 interface{}) (bool, error) { + return false, nil +} + func NewMockDelegator() *MockDelegator { return &MockDelegator{} }