Skip to content

Commit

Permalink
refactor: don't restart from stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
chesedo committed Feb 10, 2023
1 parent 2aa9be2 commit c190337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ where
{
Ok(container) => match safe_unwrap!(container.state.status) {
ContainerStateStatusEnum::RUNNING => {
Self::Started(ProjectStarted::new(container))
Self::Stopping(ProjectStopping{ container })
}
ContainerStateStatusEnum::EXITED => Self::Stopped(ProjectStopped { container }),
_ => {
Expand Down

0 comments on commit c190337

Please sign in to comment.