Skip to content

Commit

Permalink
fix: remove notNull annotation from python serve: task should have al…
Browse files Browse the repository at this point in the history
…l fields optional
  • Loading branch information
matteo-s committed Jul 11, 2024
1 parent f56d8d4 commit 0ec534e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public class PythonServeTaskSpec extends K8sTaskBaseSpec {
// ClusterIP or NodePort
@JsonProperty(value = "service_type", defaultValue = "NodePort")
@Schema(defaultValue = "NodePort")
@NotNull
private CoreServiceType serviceType;

public PythonServeTaskSpec(Map<String, Serializable> data) {
Expand Down

0 comments on commit 0ec534e

Please sign in to comment.