From 381b887a3323516ccd84817bceb0d1efdfa534d4 Mon Sep 17 00:00:00 2001 From: shangxiaobj Date: Tue, 15 Aug 2017 18:52:53 -0700 Subject: [PATCH] [Trivialfix]Fix typos in ranger Fix all the typos found in ranger. Change-Id: I3a20805ed62d80b83057a08456551f1d7c667fbf --- orm/services/customer_manager/htmlcov/jquery.min.js | 6 +++--- orm/services/image_manager/swagger/swagger.yaml | 2 +- orm/services/region_manager/cover/jquery.min.js | 6 +++--- orm/services/region_manager/htmlcov/jquery.min.js | 6 +++--- .../rds/services/yaml_customer_builder.py | 2 +- .../tests/controllers/v1/resources/test_create_resource.py | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/orm/services/customer_manager/htmlcov/jquery.min.js b/orm/services/customer_manager/htmlcov/jquery.min.js index e2efc335..0d2eab26 100644 --- a/orm/services/customer_manager/htmlcov/jquery.min.js +++ b/orm/services/customer_manager/htmlcov/jquery.min.js @@ -2338,7 +2338,7 @@ jQuery.fn.extend({ classNames = value.split( rspace ); while ( (className = classNames[ i++ ]) ) { - // check each className given, space seperated list + // check each className given, space separated list state = isBool ? state : !self.hasClass( className ); self[ state ? "addClass" : "removeClass" ]( className ); } @@ -3956,7 +3956,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[ rNonWord = /\W/; // Here we check if the JavaScript engine is using some sort of -// optimization where it does not always call our comparision +// optimization where it does not always call our comparison // function. If that is the case, discard the hasDuplicate value. // Thus far that includes Google Chrome. [0, 0].sort(function() { @@ -8249,7 +8249,7 @@ if ( jQuery.support.ajax ) { xml; // Firefox throws exceptions when accessing properties - // of an xhr when a network error occured + // of an xhr when a network error occurred // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) try { diff --git a/orm/services/image_manager/swagger/swagger.yaml b/orm/services/image_manager/swagger/swagger.yaml index d59f66e7..dbb54fe8 100755 --- a/orm/services/image_manager/swagger/swagger.yaml +++ b/orm/services/image_manager/swagger/swagger.yaml @@ -496,7 +496,7 @@ definitions: example: /v1/images/b2173dd3-7ad6-4362-baa6-a68bce3565cb/file visibility: type: string - description: if image visable + description: if image visible example: private disk-format: type: string diff --git a/orm/services/region_manager/cover/jquery.min.js b/orm/services/region_manager/cover/jquery.min.js index e2efc335..0d2eab26 100644 --- a/orm/services/region_manager/cover/jquery.min.js +++ b/orm/services/region_manager/cover/jquery.min.js @@ -2338,7 +2338,7 @@ jQuery.fn.extend({ classNames = value.split( rspace ); while ( (className = classNames[ i++ ]) ) { - // check each className given, space seperated list + // check each className given, space separated list state = isBool ? state : !self.hasClass( className ); self[ state ? "addClass" : "removeClass" ]( className ); } @@ -3956,7 +3956,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[ rNonWord = /\W/; // Here we check if the JavaScript engine is using some sort of -// optimization where it does not always call our comparision +// optimization where it does not always call our comparison // function. If that is the case, discard the hasDuplicate value. // Thus far that includes Google Chrome. [0, 0].sort(function() { @@ -8249,7 +8249,7 @@ if ( jQuery.support.ajax ) { xml; // Firefox throws exceptions when accessing properties - // of an xhr when a network error occured + // of an xhr when a network error occurred // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) try { diff --git a/orm/services/region_manager/htmlcov/jquery.min.js b/orm/services/region_manager/htmlcov/jquery.min.js index e2efc335..0d2eab26 100644 --- a/orm/services/region_manager/htmlcov/jquery.min.js +++ b/orm/services/region_manager/htmlcov/jquery.min.js @@ -2338,7 +2338,7 @@ jQuery.fn.extend({ classNames = value.split( rspace ); while ( (className = classNames[ i++ ]) ) { - // check each className given, space seperated list + // check each className given, space separated list state = isBool ? state : !self.hasClass( className ); self[ state ? "addClass" : "removeClass" ]( className ); } @@ -3956,7 +3956,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[ rNonWord = /\W/; // Here we check if the JavaScript engine is using some sort of -// optimization where it does not always call our comparision +// optimization where it does not always call our comparison // function. If that is the case, discard the hasDuplicate value. // Thus far that includes Google Chrome. [0, 0].sort(function() { @@ -8249,7 +8249,7 @@ if ( jQuery.support.ajax ) { xml; // Firefox throws exceptions when accessing properties - // of an xhr when a network error occured + // of an xhr when a network error occurred // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) try { diff --git a/orm/services/resource_distributor/rds/services/yaml_customer_builder.py b/orm/services/resource_distributor/rds/services/yaml_customer_builder.py index 33699b83..35b23812 100755 --- a/orm/services/resource_distributor/rds/services/yaml_customer_builder.py +++ b/orm/services/resource_distributor/rds/services/yaml_customer_builder.py @@ -29,7 +29,7 @@ def get_users_quotas(data, region): def creat_final_yaml(title, description, resources, outputs): """put all yaml strings together. - :param title: ther version of yaml + :param title: the version of yaml :param description: file description :param resources: body of the yaml file :param outputs: the output of the yaml diff --git a/orm/services/resource_distributor/rds/tests/controllers/v1/resources/test_create_resource.py b/orm/services/resource_distributor/rds/tests/controllers/v1/resources/test_create_resource.py index 6c7a673f..f26e73a5 100755 --- a/orm/services/resource_distributor/rds/tests/controllers/v1/resources/test_create_resource.py +++ b/orm/services/resource_distributor/rds/tests/controllers/v1/resources/test_create_resource.py @@ -63,7 +63,7 @@ class TestCreateResource(FunctionalTest): @patch.object(root.ResourceService, 'main', side_effect=root.ConflictValue("region")) def test_delete_resource_flavor_con(self, input): - """test delete flavor while previous proccess still in progress.""" + """test delete flavor while previous process still in progress.""" try: response = self.app.delete_json('/v1/rds/resources', flavor_data) except Exception as e: