Skip to content

Commit

Permalink
Accept repetition of task as attibute
Browse files Browse the repository at this point in the history
Signed-off-by: Lehmann_Fabian <[email protected]>
  • Loading branch information
Lehmann-Fabian committed Mar 4, 2024
1 parent 8d09b9c commit 948bae2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/cws/k8s/scheduler/model/TaskConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class TaskConfig {
private final float cpus;
private final long memoryInBytes;
private final String workDir;
private final int repetition;

private TaskConfig() {
this( null );
Expand All @@ -38,6 +39,7 @@ public TaskConfig(String task) {
this.cpus = 0;
this.memoryInBytes = 0;
this.workDir = null;
this.repetition = 0;
}

@Getter
Expand Down

0 comments on commit 948bae2

Please sign in to comment.