Skip to content

Commit f4d9823

Browse files
authored
Merge pull request xapi-project#3170 from srowe/update-precheck-map-LICENSE_RESTRICTION
Add LICENSE_RESTRICTION to the error whitelist
2 parents 1abac32 + ec1007b commit f4d9823

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)