You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Netbox sites are in a "City, State" or "City, Country" format (ex. Chicago, IL or London, UK) and the cluster site relation function would split at the comma causing errors.
I don't know if it is the cleanest, but I fixed this locally with this regex and a slight modification to the strip functions in the vmware/connection.py @ line 190:
for relation in re.split(",(?=([^\"]*\"[^\"]*\")*[^\"]*$)",config_settings.get(relation_option)):
Our Netbox sites are in a "City, State" or "City, Country" format (ex. Chicago, IL or London, UK) and the cluster site relation function would split at the comma causing errors.
I don't know if it is the cleanest, but I fixed this locally with this regex and a slight modification to the strip functions in the vmware/connection.py @ line 190:
for relation in re.split(",(?=([^\"]*\"[^\"]*\")*[^\"]*$)",config_settings.get(relation_option)):
The text was updated successfully, but these errors were encountered: