Skip to content

Commit

Permalink
fix: Handle appProperties and otherCloudHubProperties attributes when…
Browse files Browse the repository at this point in the history
… are null
  • Loading branch information
talyssoncastro committed Feb 1, 2024
1 parent df1bb3d commit 9dafaef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class RuntimeFabricDeploymentRequest extends ExchangeAppDeploymentRequest {

Map<String, String> getCloudhubBaseAppInfo() {
def props = this.autoDiscoveries
props += this.appProperties
props += (this.appProperties ?: [:])

def secureProps = this.appSecureProperties

Expand Down Expand Up @@ -157,7 +157,7 @@ class RuntimeFabricDeploymentRequest extends ExchangeAppDeploymentRequest {
]
] as Map<String, String>

def appInfo = result + otherCloudHubProperties
def appInfo = result + (this.otherCloudHubProperties ?: [:])
appInfo

}
Expand Down

0 comments on commit 9dafaef

Please sign in to comment.