cmdlib: Fix typo, s/nick/NIC/
authorMichael Hanselmann <hansmi@google.com>
Tue, 3 May 2011 15:37:37 +0000 (17:37 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 3 May 2011 15:53:38 +0000 (17:53 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/cmdlib.py

index 8de36bb..0217f32 100644 (file)
@@ -2870,8 +2870,8 @@ class LUClusterSetParams(LogicalUnit):
           # if we're moving instances to routed, check that they have an ip
           target_mode = params_filled[constants.NIC_MODE]
           if target_mode == constants.NIC_MODE_ROUTED and not nic.ip:
-            nic_errors.append("Instance %s, nic/%d: routed nick with no ip" %
-                              (instance.name, nic_idx))
+            nic_errors.append("Instance %s, nic/%d: routed NIC with no ip"
+                              " address" % (instance.name, nic_idx))
       if nic_errors:
         raise errors.OpPrereqError("Cannot apply the change, errors:\n%s" %
                                    "\n".join(nic_errors))