Modify backwards compatibility script to ignore synthetic access methods (#1330)

* modify backwards compatibility script to ignore synthetic access methods

* ignore synthetic access methods starting at access\$000
This commit is contained in:
vincentvilo-aws 2024-05-20 13:06:24 -07:00 committed by GitHub
parent 71f31e0a11
commit 023f6be251
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,6 +82,9 @@ find_removed_methods() {
local removed_methods=$(diff <(echo "$LATEST_METHODS") <(echo "$CURRENT_METHODS") | grep '^<')
# ignore synthetic access methods - these are not available to users and will not break backwards compatibility
removed_methods=$(echo "$removed_methods" | grep -v "access\$[0-9]00")
if [[ "$removed_methods" != "" ]]
then
REMOVED_METHODS_FLAG=$TRUE