Fix for debugging m-shr in PyCharm

This fix allows for the utilization of debugging capabilities for Manila
Share Service in PyCharm.

Closes-bug: 1395741

Change-Id: Ibb6df972d608780cb5df1ab498108db688480d36
This commit is contained in:
Rushil Chugh 2014-11-04 12:53:29 -05:00
parent 3f0a1adcc4
commit 6112d30284
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ if __name__ == '__main__':
for backend in CONF.enabled_share_backends:
host = "%s@%s" % (CONF.host, backend)
server = service.Service.create(host=host,
service_name=backend)
service_name=backend,
binary='manila-share')
launcher.launch_server(server)
else:
server = service.Service.create(binary='manila-share')