Open legan4ik opened 7 years ago
Pls use re.split('[0-9]', node.split('.')[0]) It works for all options. proxy.pilot.mcp.jiocloud.com - ['proxy'] ceph-mon03.pilot.mcp.jiocloud.com ['ceph-mon', '', '']
Pls use re.split('[0-9]', node.split('.')[0]) It works for all options. proxy.pilot.mcp.jiocloud.com - ['proxy'] ceph-mon03.pilot.mcp.jiocloud.com ['ceph-mon', '', '']