Skip to content

Commit ec1007b

Browse files
author
Simon Rowe
committed
Add LICENSE_RESTRICTION to the error whitelist
Extend the list of errorcode handled by parse_precheck_failure(). Signed-off-by: Simon Rowe <[email protected]>
1 parent 1abac32 commit ec1007b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/extensions/pool_update.precheck

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def parse_control_package(session, yum_url):
9999

100100
def parse_precheck_failure(xmldoc):
101101
errors = {
102-
UPDATE_PRECHECK_FAILED_WRONG_SERVER_VERSION: (FOUND, REQUIRED)
102+
UPDATE_PRECHECK_FAILED_WRONG_SERVER_VERSION: (FOUND, REQUIRED),
103+
'LICENSE_RESTRICTION': ('feature', )
103104
}
104105

105106
error = xmldoc.getElementsByTagName(ERROR)[0]

0 commit comments

Comments
 (0)