Skip to content

Commit

Permalink
fix: handle null value for podData in DeployOdsComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
serverhorror committed May 8, 2024
1 parent f96211d commit 273fed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/ods/orchestration/phases/DeployOdsComponent.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class DeployOdsComponent {
steps.sleep(12)
}

if podData == null {
if (podData == null) {
throw new RuntimeException("Error: Could not find 'running' pod(s) with label '${deploymentMean.selector}'")
}

Expand Down

0 comments on commit 273fed6

Please sign in to comment.