Skip to content

Commit

Permalink
removing usage of validation parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins authored and manusa committed Sep 18, 2023
1 parent f134cc3 commit 7713d8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ private Utils() {
}

public static Map<String, Quantity> buildDefaultResourceMap() {
Quantity cpu = new QuantityBuilder(false)
Quantity cpu = new QuantityBuilder()
.withAmount("1")
.build();
Quantity memory = new QuantityBuilder(false)
Quantity memory = new QuantityBuilder()
.withAmount("1024")
.build();
Map<String, Quantity> resourceMap = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ class VolcanoTest {
@Test
void testPodGroupWithMetaAndSpec() {

Quantity cpu = new QuantityBuilder(false)
Quantity cpu = new QuantityBuilder()
.withAmount("1")
.build();
Quantity memory = new QuantityBuilder(false)
Quantity memory = new QuantityBuilder()
.withAmount(TEST_MEMORY + "Mi")
.build();
Map<String, Quantity> resourceMap = new HashMap<>();
Expand Down

0 comments on commit 7713d8a

Please sign in to comment.