Skip to content

Commit ba6e9d8

Browse files
razvanNickLarsenNZ
andauthored
Update crates/stackable-operator/src/status/condition/deployment.rs
Co-authored-by: Nick <[email protected]>
1 parent 92dd769 commit ba6e9d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/stackable-operator/src/status/condition/deployment.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ impl DeploymentConditionBuilder {
3232
fn available(&self) -> ClusterCondition {
3333
let mut available = ClusterConditionStatus::True;
3434
let mut unavailable_resources = vec![];
35-
for dplmt in &self.deployments {
36-
let current_status = Self::deployment_available(dplmt);
35+
for deployment in &self.deployments {
36+
let current_status = Self::deployment_available(deployment);
3737

3838
if current_status != ClusterConditionStatus::True {
39-
unavailable_resources.push(dplmt.name_any())
39+
unavailable_resources.push(deployment.name_any())
4040
}
4141

4242
available = cmp::max(available, current_status);

0 commit comments

Comments
 (0)