From 8d2cbeff00d4a433f8e4a3d5a1a5adef3d2c2933 Mon Sep 17 00:00:00 2001 From: zhufl Date: Thu, 24 Jan 2019 11:43:41 +0800 Subject: [PATCH] Add missing ws seperator between words This is to add missing ws seperator between words. Change-Id: I55731b70dec4ecb19bf1f3ac2307091ba6a625ba --- freezer/common/config.py | 6 +++--- freezer/openstack/admin.py | 2 +- freezer/storage/ssh.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/freezer/common/config.py b/freezer/common/config.py index 893bd9de..0ef418e3 100644 --- a/freezer/common/config.py +++ b/freezer/common/config.py @@ -50,7 +50,7 @@ _DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN', _DEFAULT_LOGGING_CONTEXT_FORMAT = ( '%(asctime)s.%(msecs)03d %(process)d ' '%(levelname)s %(name)s [%(request_id)s ' - '%(user_identity)s] %(instance)s' + '%(user_identity)s] %(instance)s ' '%(message)s') DEFAULT_PARAMS = { @@ -122,7 +122,7 @@ _COMMON = [ "(filesystem),mongo (MongoDB), mysql (MySQL), " "sqlserver(SQL Server), " "cinder(OpenStack Volume backup by freezer), " - "cindernative(OpenStack native cinder-volume backup)" + "cindernative(OpenStack native cinder-volume backup), " "nova(OpenStack Instance). Default set to fs"), cfg.StrOpt('engine', short='e', @@ -519,7 +519,7 @@ _COMMON = [ default=DEFAULT_PARAMS['incremental'], help="When the option is set, freezer will perform a " "cindernative incremental backup instead of the default " - "full backup. And if True, but volume do not have a base" + "full backup. And if True, but volume do not have a base " "full backup, freezer will do a full backup first"), cfg.StrOpt('nova-restore-network', dest='nova_restore_network', diff --git a/freezer/openstack/admin.py b/freezer/openstack/admin.py index 123f9dc0..b5c29cf8 100644 --- a/freezer/openstack/admin.py +++ b/freezer/openstack/admin.py @@ -67,7 +67,7 @@ class AdminOs(object): % (backup_id, del_backup[0].status)) if (del_backup[0].status == 'deleting') and (int(time.time()) - start_time > timeout): - LOG.error("Delete backup %s failed, In a state of" + LOG.error("Delete backup %s failed, In a state of " "deleting over 120s") raise Exception( "Delete backup %s failed due to timeout over 120s, " diff --git a/freezer/storage/ssh.py b/freezer/storage/ssh.py index 0b7bbdfb..11c5933d 100644 --- a/freezer/storage/ssh.py +++ b/freezer/storage/ssh.py @@ -70,7 +70,7 @@ class SshStorage(fslike.FsLikeStorage): 'it exists and ensure backup node can ' 'login to {1} as user {2} ' 'without password.\n' - '2. --ssh-password argument is required and' + '2. --ssh-password argument is required and ' 'ensure backup node can login to {1} ' 'as user {2} with password.' .format(self.ssh_key_path, self.remote_ip,