File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
scenariorun/src/main/kotlin/com/cosmotech/scenariorun/azure
scenario/src/main/kotlin/com/cosmotech/scenario/azure Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -784,11 +784,11 @@ internal class ScenarioServiceImpl(
784784 workspace : Workspace ,
785785 scenario : Scenario
786786 ) {
787- if (workspace.sendScenarioMetadataToEventHub == false ) {
787+ if (workspace.sendScenarioMetadataToEventHub != true ) {
788788 return
789789 }
790790
791- if (workspace.useDedicatedEventHubNamespace == false ) {
791+ if (workspace.useDedicatedEventHubNamespace != true ) {
792792 logger.error(
793793 " workspace must be configured with useDedicatedEventHubNamespace to true in order to send metadata" )
794794 return
Original file line number Diff line number Diff line change @@ -618,11 +618,11 @@ internal class ScenarioRunServiceImpl(
618618 scenarioId : String ,
619619 simulationRun : String
620620 ) {
621- if (workspace.sendScenarioMetadataToEventHub == false ) {
621+ if (workspace.sendScenarioMetadataToEventHub != true ) {
622622 return
623623 }
624624
625- if (workspace.useDedicatedEventHubNamespace == false ) {
625+ if (workspace.useDedicatedEventHubNamespace != true ) {
626626 logger.error(
627627 " workspace must be configured with useDedicatedEventHubNamespace to true in order to send metadata" )
628628 return
You can’t perform that action at this time.
0 commit comments