summaryrefslogtreecommitdiff
path: root/ironic/cmd/dbsync.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic/cmd/dbsync.py')
-rw-r--r--ironic/cmd/dbsync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/cmd/dbsync.py b/ironic/cmd/dbsync.py
index 484e8096c..9cdfa2f4f 100644
--- a/ironic/cmd/dbsync.py
+++ b/ironic/cmd/dbsync.py
@@ -338,5 +338,5 @@ def main():
if not set(sys.argv) & valid_commands:
sys.argv.append('upgrade')
- service.prepare_service(sys.argv)
+ service.prepare_command(sys.argv)
CONF.command.func()