From 6dae3e1a0993612b1786d19ab74800ae5c1c11fd Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Fri, 12 May 2023 11:42:04 +0700 Subject: [PATCH 1/2] Delete WaitForReady option Signed-off-by: Nikita Skrynnik --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 500c4c4..48ea5a5 100644 --- a/main.go +++ b/main.go @@ -207,7 +207,6 @@ func main() { tracing.WithTracingDial(), grpc.WithBlock(), grpc.WithDefaultCallOptions( - grpc.WaitForReady(true), grpc.PerRPCCredentials(token.NewPerRPCCredentials(spiffejwt.TokenGeneratorFunc(source, cfg.MaxTokenLifetime)))), grpc.WithTransportCredentials( grpcfd.TransportCredentials( From 4100174d9704b29ddc5bb8ee42e5dafc575b577c Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Fri, 12 May 2023 11:58:21 +0700 Subject: [PATCH 2/2] fix golang linter Signed-off-by: Nikita Skrynnik --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 48ea5a5..430f610 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021-2022 Doc.ai and/or its affiliates. -// Copyright (c) 2021-2022 Nordix and/or its affiliates. +// Copyright (c) 2021-2023 Doc.ai and/or its affiliates. +// Copyright (c) 2021-2023 Nordix and/or its affiliates. +// +// Copyright (c) 2023 Cisco and/or its affiliates. // // SPDX-License-Identifier: Apache-2.0 //