Skip to content

Commit

Permalink
makes workflow_yamlContent optional (#6518)
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz authored Sep 30, 2022
1 parent 7698a02 commit cddd970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/voxelytics/VoxelyticsDAO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class VoxelyticsDAO @Inject()(sqlClient: SQLClient)(implicit ec: ExecutionContex
hostname: String,
voxelyticsVersion: String,
workflow_hash: String,
workflow_yamlContent: String,
workflow_yamlContent: Option[String],
workflow_config: JsValue): Fox[ObjectId] =
for {
_ <- run(
Expand Down
2 changes: 1 addition & 1 deletion app/models/voxelytics/WorkflowDescription.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ case class WorkflowDescriptionArtifact(path: String,

case class WorkflowDescriptionRun(name: String, user: String, hostname: String, voxelyticsVersion: String)

case class WorkflowDescriptionWorkflow(name: String, hash: String, yamlContent: String)
case class WorkflowDescriptionWorkflow(name: String, hash: String, yamlContent: Option[String])

case class WorkflowDescription(config: WorkflowDescriptionConfig,
artifacts: Map[String, Map[String, WorkflowDescriptionArtifact]],
Expand Down

0 comments on commit cddd970

Please sign in to comment.