diff --git a/bill-of-materials.json b/bill-of-materials.json index 42e73e61f..c11992df8 100644 --- a/bill-of-materials.json +++ b/bill-of-materials.json @@ -134,6 +134,15 @@ } ] }, + { + "project": "github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils", + "licenses": [ + { + "type": "Apache License 2.0", + "confidence": 1 + } + ] + }, { "project": "github.com/grpc-ecosystem/go-grpc-prometheus", "licenses": [ diff --git a/integration/cluster.go b/integration/cluster.go index ead7b570a..e3924e64d 100644 --- a/integration/cluster.go +++ b/integration/cluster.go @@ -981,7 +981,7 @@ func WaitClientV3(t *testing.T, kv clientv3.KV) { var err error for time.Now().Before(timeout) { ctx, cancel := context.WithTimeout(context.Background(), requestTimeout) - _, err := kv.Get(ctx, "/") + _, err = kv.Get(ctx, "/") cancel() if err == nil { return diff --git a/integration/v3_grpc_test.go b/integration/v3_grpc_test.go index ab96b76dd..b193f661f 100644 --- a/integration/v3_grpc_test.go +++ b/integration/v3_grpc_test.go @@ -1948,6 +1948,6 @@ func waitForRestart(t *testing.T, kvc pb.KVClient) { } } if err != nil { - t.Fatal("timed out waiting for restart: %v", err) + t.Fatalf("timed out waiting for restart: %v", err) } }