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:
parent
3f0a1adcc4
commit
6112d30284
@ -54,7 +54,8 @@ if __name__ == '__main__':
|
|||||||
for backend in CONF.enabled_share_backends:
|
for backend in CONF.enabled_share_backends:
|
||||||
host = "%s@%s" % (CONF.host, backend)
|
host = "%s@%s" % (CONF.host, backend)
|
||||||
server = service.Service.create(host=host,
|
server = service.Service.create(host=host,
|
||||||
service_name=backend)
|
service_name=backend,
|
||||||
|
binary='manila-share')
|
||||||
launcher.launch_server(server)
|
launcher.launch_server(server)
|
||||||
else:
|
else:
|
||||||
server = service.Service.create(binary='manila-share')
|
server = service.Service.create(binary='manila-share')
|
||||||
|
Loading…
Reference in New Issue
Block a user