make rebaseline_server client check schema version number
(SkipBuildbotRuns) NOTREECHECKS=True NOTRY=True R=rmistry@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/195763013 git-svn-id: http://skia.googlecode.com/svn/trunk@13792 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
98e22b84ca
commit
addcddeda6
@ -89,6 +89,12 @@ Loader.controller(
|
||||
$timeout(
|
||||
function(){location.reload();},
|
||||
timeToReload - timeNow);
|
||||
} else if (dataHeader[constants.KEY__HEADER__SCHEMA_VERSION] !=
|
||||
constants.REBASELINE_SERVER_SCHEMA_VERSION_NUMBER) {
|
||||
$scope.loadingMessage = "ERROR: Got JSON file with schema version "
|
||||
+ dataHeader[constants.KEY__HEADER__SCHEMA_VERSION]
|
||||
+ " but expected schema version "
|
||||
+ constants.REBASELINE_SERVER_SCHEMA_VERSION_NUMBER;
|
||||
} else {
|
||||
$scope.loadingMessage = "Processing data, please wait...";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user