mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
debugd: remove timeout for rpc calls
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
b9fd8237b9
commit
4eeff3696d
@ -153,9 +153,6 @@ func newDebugdClient(ctx context.Context, ip string) (pb.DebugdClient, io.Closer
|
||||
}
|
||||
|
||||
func setInfo(ctx context.Context, client pb.DebugdClient, infos map[string]string) error {
|
||||
ctx, cancel := context.WithTimeout(ctx, debugd.GRPCTimeout)
|
||||
defer cancel()
|
||||
|
||||
log.Printf("Setting info with length %d", len(infos))
|
||||
|
||||
var infosPb []*pb.Info
|
||||
@ -174,9 +171,6 @@ func setInfo(ctx context.Context, client pb.DebugdClient, infos map[string]strin
|
||||
}
|
||||
|
||||
func uploadBootstrapper(ctx context.Context, client pb.DebugdClient, in deployOnEndpointInput) error {
|
||||
ctx, cancel := context.WithTimeout(ctx, debugd.GRPCTimeout)
|
||||
defer cancel()
|
||||
|
||||
log.Println("Uploading bootstrapper")
|
||||
|
||||
stream, err := client.UploadBootstrapper(ctx, grpc.WaitForReady(true))
|
||||
|
Loading…
Reference in New Issue
Block a user