File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ use bollard::image::CreateImageOptions;
99use bollard:: models:: { HostConfig , PortBinding } ;
1010use bollard:: network:: { ConnectNetworkOptions , CreateNetworkOptions , PruneNetworksOptions } ;
1111use bollard:: Docker ;
12+ use crossterm:: terminal:: disable_raw_mode;
1213use deno_core:: futures:: TryStreamExt ;
1314use std:: collections:: HashMap ;
1415use std:: fs:: { self , File } ;
1516use std:: io:: Write ;
1617use std:: path:: PathBuf ;
1718use std:: sync:: mpsc:: { Receiver , Sender } ;
18- use crossterm:: terminal:: disable_raw_mode;
1919use tracing:: info;
2020
2121#[ derive( Default , Debug ) ]
@@ -625,9 +625,7 @@ ignore_txs = false
625625 Some ( ref docker) => docker,
626626 _ => panic ! ( "Unable to get Docker client" ) ,
627627 } ;
628- let res = docker
629- . list_containers ( options)
630- . await ;
628+ let res = docker. list_containers ( options) . await ;
631629 let containers = match res {
632630 Ok ( containters) => containters,
633631 Err ( _) => {
@@ -1677,4 +1675,4 @@ events_keys = ["*"]
16771675fn process_exit ( ) {
16781676 disable_raw_mode ( ) . unwrap ( ) ;
16791677 std:: process:: exit ( 1 ) ;
1680- }
1678+ }
Original file line number Diff line number Diff line change @@ -148,10 +148,7 @@ fn terminate(
148148 orchestrator_terminated_rx : Receiver < bool > ,
149149) -> Result < ( ) , Box < dyn Error > > {
150150 disable_raw_mode ( ) ?;
151- execute ! (
152- terminal. backend_mut( ) ,
153- LeaveAlternateScreen ,
154- ) ?;
151+ execute ! ( terminal. backend_mut( ) , LeaveAlternateScreen , ) ?;
155152 match orchestrator_terminated_rx. recv ( ) ? {
156153 _ => { }
157154 }
You can’t perform that action at this time.
0 commit comments