Fix ganeti-rapi version string
authorIustin Pop <iustin@google.com>
Fri, 2 Jul 2010 15:20:51 +0000 (17:20 +0200)
committerIustin Pop <iustin@google.com>
Fri, 2 Jul 2010 15:34:40 +0000 (17:34 +0200)
This was "broken" for almost a year :)

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>

daemons/ganeti-rapi

index fe08cb0..28cdcd4 100755 (executable)
@@ -247,7 +247,7 @@ def main():
   """
   parser = optparse.OptionParser(description="Ganeti Remote API",
                     usage="%prog [-f] [-d] [-p port] [-b ADDRESS]",
-                    version="%%prog (ganeti) %s" % constants.RAPI_VERSION)
+                    version="%%prog (ganeti) %s" % constants.RELEASE_VERSION)
 
   dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
   dirs.append((constants.LOG_OS_DIR, 0750))