Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
🐛 getting DataType by plan type
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinnih-1 committed Dec 24, 2022
1 parent b08de4f commit 37e0f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ public void createServer(ApplicationUser user, ServerType serverType, PlanBuilde
.setEnvironment(serverType.getEnviroment())
.setCPU(plan.getPlanType().getCpu())
.setBackups(plan.getPlanType().getBackup())
.setDisk(plan.getPlanType().getDisk(), DataType.GB)
.setMemory(plan.getPlanType().getMemory(), DataType.GB)
.setDisk(plan.getPlanType().getDisk(), plan.getPlanType().getDataType())
.setMemory(plan.getPlanType().getMemory(), plan.getPlanType().getDataType())
.setDatabases(plan.getPlanType().getDatabase())
.setName(plan.getPlanData().getTitle())
.setAllocations(1L)
Expand Down

0 comments on commit 37e0f27

Please sign in to comment.