@Operation(summary = "update", description = "Update a host")
    @PutMapping("/{id}")
    public ResponseEntity<HostVO> update(
            @PathVariable Long clusterId, @PathVariable Long id, @RequestBody @Validated HostReq hostReq) {
        HostDTO hostDTO = HostConverter.INSTANCE.fromReq2DTO(hostReq);
        return ResponseEntity.success(hostService.update(id, hostDTO));
    }
@Test
    void updateReturnsUpdatedHost() {
        Long clusterId = 1L;
        Long hostId = 1L;
        HostReq hostReq = new HostReq();
        HostVO updatedHost = new HostVO();
        when(hostService.update(anyLong(), any(HostDTO.class))).thenReturn(updatedHost);

        ResponseEntity<HostVO> response = hostController.update(clusterId, hostId, hostReq);

        assertTrue(response.isSuccess());
        assertEquals(updatedHost, response.getData());
    }