[UPDATE] Experiments API 엔티티 필드명 변경 (lastRunCreatedAt → kubeflowLastRunCreatedAt) 및 관련 로직 수정 (ExperimentsController)

main
bjkim 9 months ago
parent 521c5735ae
commit f99b8ac890

@ -90,7 +90,7 @@ public class ExperimentsController {
if (resp.get("last_run_created_at") != null) { if (resp.get("last_run_created_at") != null) {
String lastRunStr = resp.get("last_run_created_at").toString(); String lastRunStr = resp.get("last_run_created_at").toString();
OffsetDateTime odt = OffsetDateTime.parse(lastRunStr); OffsetDateTime odt = OffsetDateTime.parse(lastRunStr);
saved.setLastRunCreatedAt(odt.withOffsetSameInstant(ZoneId.of("Asia/Seoul").getRules().getOffset(odt.toInstant())) saved.setKubeflowLastRunCreatedAt(odt.withOffsetSameInstant(ZoneId.of("Asia/Seoul").getRules().getOffset(odt.toInstant()))
.toLocalDateTime()); .toLocalDateTime());
} }
if(resp.get("id") != null) { if(resp.get("id") != null) {

Loading…
Cancel
Save