@@ -80,8 +80,8 @@ pub struct DeleteInvocationParams {
8080 from_type = "MetaApiError" ,
8181 )
8282) ]
83- pub async fn delete_invocation < V , IC > (
84- State ( state) : State < AdminServiceState < V , IC > > ,
83+ pub async fn delete_invocation < IC > (
84+ State ( state) : State < AdminServiceState < IC > > ,
8585 Path ( invocation_id) : Path < String > ,
8686 Query ( DeleteInvocationParams { mode } ) : Query < DeleteInvocationParams > ,
8787) -> Result < StatusCode , MetaApiError > {
@@ -139,8 +139,8 @@ generate_meta_api_error!(KillInvocationError: [InvocationNotFoundError, Invocati
139139 schema = "std::string::String"
140140 ) )
141141) ]
142- pub async fn kill_invocation < V , IC > (
143- State ( state) : State < AdminServiceState < V , IC > > ,
142+ pub async fn kill_invocation < IC > (
143+ State ( state) : State < AdminServiceState < IC > > ,
144144 Path ( invocation_id) : Path < String > ,
145145) -> Result < ( ) , KillInvocationError >
146146where
@@ -199,8 +199,8 @@ generate_meta_api_error!(CancelInvocationError: [InvocationNotFoundError, Invoca
199199 from_type = "CancelInvocationError" ,
200200 )
201201) ]
202- pub async fn cancel_invocation < V , IC > (
203- State ( state) : State < AdminServiceState < V , IC > > ,
202+ pub async fn cancel_invocation < IC > (
203+ State ( state) : State < AdminServiceState < IC > > ,
204204 Path ( invocation_id) : Path < String > ,
205205) -> Result < StatusCode , CancelInvocationError >
206206where
@@ -241,8 +241,8 @@ generate_meta_api_error!(PurgeInvocationError: [InvocationNotFoundError, Invocat
241241 schema = "std::string::String"
242242 ) )
243243) ]
244- pub async fn purge_invocation < V , IC > (
245- State ( state) : State < AdminServiceState < V , IC > > ,
244+ pub async fn purge_invocation < IC > (
245+ State ( state) : State < AdminServiceState < IC > > ,
246246 Path ( invocation_id) : Path < String > ,
247247) -> Result < ( ) , PurgeInvocationError >
248248where
@@ -284,8 +284,8 @@ generate_meta_api_error!(PurgeJournalError: [InvocationNotFoundError, Invocation
284284 schema = "std::string::String"
285285 ) )
286286) ]
287- pub async fn purge_journal < V , IC > (
288- State ( state) : State < AdminServiceState < V , IC > > ,
287+ pub async fn purge_journal < IC > (
288+ State ( state) : State < AdminServiceState < IC > > ,
289289 Path ( invocation_id) : Path < String > ,
290290) -> Result < ( ) , PurgeJournalError >
291291where
@@ -398,8 +398,8 @@ generate_meta_api_error!(RestartInvocationError: [
398398 ) ,
399399 )
400400) ]
401- pub async fn restart_as_new_invocation < V , IC > (
402- State ( state) : State < AdminServiceState < V , IC > > ,
401+ pub async fn restart_as_new_invocation < IC > (
402+ State ( state) : State < AdminServiceState < IC > > ,
403403 Path ( invocation_id) : Path < String > ,
404404 Query ( RestartAsNewInvocationQueryParams { from, deployment } ) : Query <
405405 RestartAsNewInvocationQueryParams ,
@@ -510,8 +510,8 @@ generate_meta_api_error!(ResumeInvocationError: [
510510 )
511511 )
512512) ]
513- pub async fn resume_invocation < V , IC > (
514- State ( state) : State < AdminServiceState < V , IC > > ,
513+ pub async fn resume_invocation < IC > (
514+ State ( state) : State < AdminServiceState < IC > > ,
515515 Path ( invocation_id) : Path < String > ,
516516 Query ( ResumeInvocationQueryParams { deployment } ) : Query < ResumeInvocationQueryParams > ,
517517) -> Result < ( ) , ResumeInvocationError >
0 commit comments