File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -122,26 +122,10 @@ impl Cli {
122122 let cli = Cli :: parse ( ) ;
123123
124124 match cli. command . unwrap_or ( Command :: Broker ( Box :: new ( cli. broker ) ) ) {
125- Command :: Broker ( arg) => arg
126- . main ( )
127- . await
128- . inspect ( |result| debug ! ( ?result) )
129- . inspect_err ( |err| debug ! ( ?err) ) ,
130-
125+ Command :: Broker ( arg) => arg. main ( ) . await ,
131126 Command :: Cat { command } => command. main ( ) . await ,
132-
133- Command :: Generator ( arg) => arg
134- . main ( )
135- . await
136- . inspect ( |result| debug ! ( ?result) )
137- . inspect_err ( |err| debug ! ( ?err) ) ,
138-
139- Command :: Perf ( arg) => arg
140- . main ( )
141- . await
142- . inspect ( |result| debug ! ( ?result) )
143- . inspect_err ( |err| debug ! ( ?err) ) ,
144-
127+ Command :: Generator ( arg) => arg. main ( ) . await ,
128+ Command :: Perf ( arg) => arg. main ( ) . await ,
145129 Command :: Proxy ( arg) => tansu_proxy:: Proxy :: main (
146130 arg. listener_url . into_inner ( ) ,
147131 arg. advertised_listener_url . into_inner ( ) ,
@@ -151,7 +135,6 @@ impl Cli {
151135 )
152136 . await
153137 . map_err ( Into :: into) ,
154-
155138 Command :: Topic { command } => command. main ( ) . await ,
156139 }
157140 }
You can’t perform that action at this time.
0 commit comments