From 0813f356b7b693ed4eff9c4a14623f703f6843c9 Mon Sep 17 00:00:00 2001 From: sunqingliang6 Date: Thu, 21 Jun 2018 16:20:16 +0800 Subject: [PATCH] fix typos Change-Id: Ie0ec7353b2b97cb874dcd544d53a9330d09e1fcf --- doc/specs/implemented/deployment_type.rst | 4 ++-- doc/specs/in-progress/cleanup_refactoring.rst | 2 +- .../2018_02_bc908ac9a1fc_move_deployment_to_env_2.py | 6 +++--- rally/common/db/models.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/specs/implemented/deployment_type.rst b/doc/specs/implemented/deployment_type.rst index bbf0f4b56d..9cd9bf2203 100644 --- a/doc/specs/implemented/deployment_type.rst +++ b/doc/specs/implemented/deployment_type.rst @@ -15,8 +15,8 @@ unbound it from OpenStack. Problem description =================== -Rally is able to examine only system that use Keystone as a authentication -services, which limits sphere where Rally is suitable. +Rally is able to examine only system that use Keystone as an +authentication service, which limits sphere where Rally is suitable. At the moment to run Rally Task or Rally Verify you must specify OpenStack deployment which contains credentials of it. These credentials are used in diff --git a/doc/specs/in-progress/cleanup_refactoring.rst b/doc/specs/in-progress/cleanup_refactoring.rst index 04caf78c9f..3b3835dc81 100644 --- a/doc/specs/in-progress/cleanup_refactoring.rst +++ b/doc/specs/in-progress/cleanup_refactoring.rst @@ -133,7 +133,7 @@ Alternatives the tenants, regardless of resource naming, so we only need to keep track of Rally tenants (naming could be a solution here) and resources in admin tenant. In this case, we need to think about a case where Rally needs to - cleanup some resources from a existing tenant while leaving the rest + cleanup some resources from an existing tenant while leaving the rest available. * Use/enhance Tempest cleanup command (tempest/cmd/cleanup.py). Compare diff --git a/rally/common/db/migrations/versions/2018_02_bc908ac9a1fc_move_deployment_to_env_2.py b/rally/common/db/migrations/versions/2018_02_bc908ac9a1fc_move_deployment_to_env_2.py index 5f1a988adc..53b56f9fd1 100644 --- a/rally/common/db/migrations/versions/2018_02_bc908ac9a1fc_move_deployment_to_env_2.py +++ b/rally/common/db/migrations/versions/2018_02_bc908ac9a1fc_move_deployment_to_env_2.py @@ -14,9 +14,9 @@ """move_deployment_to_env_2 -Migration 7287df262dbc did not handle the case of a old deployment format which -led to failures. Migration `dc0fe6de6786` ports the old format the new one and -we can perform the migration to the env again. +Migration 7287df262dbc did not handle the case of an old deployment format +which led to failures. Migration `dc0fe6de6786` ports the old format the new +one and we can perform the migration to the env again. Revision ID: bc908ac9a1fc Revises: dc0fe6de6786 diff --git a/rally/common/db/models.py b/rally/common/db/models.py index 3df7045bef..3c302491bf 100644 --- a/rally/common/db/models.py +++ b/rally/common/db/models.py @@ -67,7 +67,7 @@ class RallyBase(six.Iterator): class Env(BASE, RallyBase): - """Represent a environment.""" + """Represent an environment.""" __tablename__ = "envs" __table_args__ = ( sa.Index("env_uuid", "uuid", unique=True),