This pull request addresses the refactoring of the Domain and CobblerServer models relationship from many-to-many to one-to-one. This simplifies the code and removes unnecessary loops when interacting with CobblerServer objects.
Old behavior:
The relationship between Domain and CobblerServer was many-to-many, which allowed multiple CobblerServers to be associated with a single Domain.
New behavior:
The Domain-CobblerServer relationship has been refactored to a one-to-one relationship, meaning that each Domain can now only have one associated CobblerServer.
This pull request addresses the refactoring of the Domain and CobblerServer models relationship from many-to-many to one-to-one. This simplifies the code and removes unnecessary loops when interacting with CobblerServer objects.
Old behavior:
The relationship between Domain and CobblerServer was many-to-many, which allowed multiple CobblerServers to be associated with a single Domain.
New behavior:
The Domain-CobblerServer relationship has been refactored to a one-to-one relationship, meaning that each Domain can now only have one associated CobblerServer.