|
@@ -16,7 +16,7 @@ func CreateSslPair(
|
|
activityRecordCmdRepo repository.ActivityRecordCmdRepo,
|
|
activityRecordCmdRepo repository.ActivityRecordCmdRepo,
|
|
createDto dto.CreateSslPair,
|
|
createDto dto.CreateSslPair,
|
|
) error {
|
|
) error {
|
|
- vHostReadResponse, err := vhostQueryRepo.Read(dto.ReadVirtualHostsRequest{
|
|
|
|
|
|
+ vhostReadResponse, err := vhostQueryRepo.Read(dto.ReadVirtualHostsRequest{
|
|
Pagination: dto.PaginationUnpaginated,
|
|
Pagination: dto.PaginationUnpaginated,
|
|
})
|
|
})
|
|
if err != nil {
|
|
if err != nil {
|
|
@@ -25,7 +25,7 @@ func CreateSslPair(
|
|
}
|
|
}
|
|
|
|
|
|
existingVirtualHostHostnames := []valueObject.Fqdn{}
|
|
existingVirtualHostHostnames := []valueObject.Fqdn{}
|
|
- for _, vhostEntity := range vHostReadResponse.VirtualHosts {
|
|
|
|
|
|
+ for _, vhostEntity := range vhostReadResponse.VirtualHosts {
|
|
if vhostEntity.Type == valueObject.VirtualHostTypeAlias {
|
|
if vhostEntity.Type == valueObject.VirtualHostTypeAlias {
|
|
continue
|
|
continue
|
|
}
|
|
}
|