From 0b85240d15655c30198eb29c44663ee5413167ee Mon Sep 17 00:00:00 2001 From: sunqingliang6 Date: Tue, 19 Jun 2018 17:12:06 +0800 Subject: [PATCH] fix typos Change-Id: I309a7f0f6947f533b7baef38dda637e5d79a72f2 --- ironic/db/sqlalchemy/api.py | 2 +- ironic/drivers/modules/irmc/boot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ironic/db/sqlalchemy/api.py b/ironic/db/sqlalchemy/api.py index 3677a4a6df..5b96cde2e1 100644 --- a/ironic/db/sqlalchemy/api.py +++ b/ironic/db/sqlalchemy/api.py @@ -1279,7 +1279,7 @@ class Connection(api.Connection): if delta is None: # NOTE(dtantsur): mark unsupported nodes as migrated. Otherwise # calling online_data_migration without --max-count will result - # in a infinite loop. + # in an infinite loop. total_migrated += len(ids) continue diff --git a/ironic/drivers/modules/irmc/boot.py b/ironic/drivers/modules/irmc/boot.py index 5350e8f0e6..6ac8c3f209 100644 --- a/ironic/drivers/modules/irmc/boot.py +++ b/ironic/drivers/modules/irmc/boot.py @@ -622,7 +622,7 @@ class IRMCVolumeBootMixIn(object): def _validate_iscsi_connectors(self, task): """Validate if volume connectors are properly registered for iSCSI. - For connecting a node to a iSCSI volume, volume connectors containing + For connecting a node to an iSCSI volume, volume connectors containing an IQN and an IP address are necessary. One of connectors must have a physical ID of the PCI card. Network size of a storage network is also required by iRMC. which should be registered in the node's