Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
callicles committed Feb 21, 2025
1 parent 6d7b047 commit b512d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/framework-cli/src/framework/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl InitialDataLoad {
topic: self.topic.clone(),
progress: match &self.status {
InitialDataLoadStatus::InProgress(i) => Some(*i as u64),
InitialDataLoadStatus::Completed => Some(100),
InitialDataLoadStatus::Completed => None,
},
special_fields: Default::default(),
}
Expand All @@ -74,7 +74,7 @@ impl InitialDataLoad {
status: match proto.progress {
Some(i) if i >= 100 => InitialDataLoadStatus::Completed,
Some(i) => InitialDataLoadStatus::InProgress(i as i64),
None => InitialDataLoadStatus::InProgress(0),
None => InitialDataLoadStatus::Completed,
},
}
}
Expand Down

0 comments on commit b512d61

Please sign in to comment.