mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-26 15:27:53 -05: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 {
|
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))
|
log.Printf("Setting info with length %d", len(infos))
|
||||||
|
|
||||||
var infosPb []*pb.Info
|
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 {
|
func uploadBootstrapper(ctx context.Context, client pb.DebugdClient, in deployOnEndpointInput) error {
|
||||||
ctx, cancel := context.WithTimeout(ctx, debugd.GRPCTimeout)
|
|
||||||
defer cancel()
|
|
||||||
|
|
||||||
log.Println("Uploading bootstrapper")
|
log.Println("Uploading bootstrapper")
|
||||||
|
|
||||||
stream, err := client.UploadBootstrapper(ctx, grpc.WaitForReady(true))
|
stream, err := client.UploadBootstrapper(ctx, grpc.WaitForReady(true))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user