From c74ba31f9dca72002349c8322d286747e8984209 Mon Sep 17 00:00:00 2001 From: Andy Walker Date: Fri, 28 Jul 2023 15:40:46 -0400 Subject: [PATCH] Bug: client.apiProfile is always empty --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 13927c3..fe09c72 100644 --- a/client.go +++ b/client.go @@ -93,7 +93,7 @@ func NewClient(config ClientConfig) (Client, error) { return &pulsarClient{ restClient: rest.NewClient(clientTransport, config.WebServiceURL, Product+`/`+ReleaseVersion), - apiProfile: APIProfile{}, + apiProfile: *config.APIProfile, }, nil }