summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Deza <alfredo.deza@inktank.com>2013-08-16 16:14:57 -0400
committerGary Lowell <gary.lowell@inktank.com>2013-10-09 10:04:50 -0700
commita941ef7dfe6ab5e8907ff2894738a109f376f728 (patch)
treeb5551b773ed041351ef63b2a3cac37a94c986fff
parent5851bfacc070a987f1327d57886f445f8fc8e3af (diff)
downloadceph-a941ef7dfe6ab5e8907ff2894738a109f376f728.tar.gz
ceph-rest-api is now able to import ceph_rest
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
-rwxr-xr-xsrc/ceph-rest-api6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ceph-rest-api b/src/ceph-rest-api
index 772b3d20fcd..98e7ce0dbcf 100755
--- a/src/ceph-rest-api
+++ b/src/ceph-rest-api
@@ -44,14 +44,14 @@ parsed_args, rest = parse_args()
# import now that env vars are available to imported module
try:
- import ceph_rest_api
+ import ceph_rest
except EnvironmentError as e:
- print >> sys.stderr, "Error importing ceph_rest_api: ", str(e)
+ print >> sys.stderr, "Error importing ceph_rest: ", str(e)
sys.exit(1)
# let other exceptions generate traceback
-app = ceph_rest_api.generate_app(
+app = ceph_rest.generate_app(
parsed_args.conf,
parsed_args.cluster,
parsed_args.name,