From 2f907a8c2ca947bc5bdd061fd85f4c11133c89d4 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 20 Jan 2009 14:20:03 +0000
Subject: [PATCH] Fix a couple of epydoc warnings

Reviewed-by: ultrotter
---
 lib/opcodes.py       |  2 +-
 scripts/gnt-instance | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/opcodes.py b/lib/opcodes.py
index 6848c4e85..36939d42e 100644
--- a/lib/opcodes.py
+++ b/lib/opcodes.py
@@ -419,7 +419,7 @@ class OpMigrateInstance(OpCode):
   This migrates (without shutting down an instance) to its secondary
   node.
 
-  @var instance_name: the name of the instance
+  @ivar instance_name: the name of the instance
 
   """
   OP_ID = "OP_INSTANCE_MIGRATE"
diff --git a/scripts/gnt-instance b/scripts/gnt-instance
index f1063d8b4..369ae347d 100755
--- a/scripts/gnt-instance
+++ b/scripts/gnt-instance
@@ -826,11 +826,11 @@ def MigrateInstance(opts, args):
 
   The migrate is done without shutdown.
 
-  Args:
-    opts - class with options as members
-    args - list with a single element, the instance name
-  Opts used:
-    force - whether to migrate without asking questions.
+  @param opts: the command line options selected by the user
+  @type args: list
+  @param args: should contain only one element, the instance name
+  @rtype: int
+  @return: the desired exit code
 
   """
   instance_name = args[0]
-- 
GitLab