Commit 9e47cad8 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix ganeti-rapi version string



This was "broken" for almost a year :)
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 0c1103d6
...@@ -247,7 +247,7 @@ def main(): ...@@ -247,7 +247,7 @@ def main():
""" """
parser = optparse.OptionParser(description="Ganeti Remote API", parser = optparse.OptionParser(description="Ganeti Remote API",
usage="%prog [-f] [-d] [-p port] [-b ADDRESS]", 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 = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
dirs.append((constants.LOG_OS_DIR, 0750)) dirs.append((constants.LOG_OS_DIR, 0750))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment