Skip to content
Snippets Groups Projects

Draft: Resolve "Deadline and Cancellation for gRPC calls"

Open Ghost User requested to merge 320-deadline-and-cancellation-for-grpc-calls into master
Files
30
+ 2
1
@@ -51,7 +51,8 @@ Change UUID must be specified as positional argument.`,
@@ -51,7 +51,8 @@ Change UUID must be specified as positional argument.`,
pterm.Error.Println(err)
pterm.Error.Println(err)
return
return
}
}
resp, err := pndAdapter.Commit(createContextWithAuthorization(), cuid)
 
resp, err := pndAdapter.Commit(cmd.Context(), cuid)
if err != nil {
if err != nil {
pterm.Error.Println(err)
pterm.Error.Println(err)
return
return
Loading