Skip to content

Commit c74ba31

Browse files
committed
Bug: client.apiProfile is always empty
1 parent 97989ac commit c74ba31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func NewClient(config ClientConfig) (Client, error) {
9393

9494
return &pulsarClient{
9595
restClient: rest.NewClient(clientTransport, config.WebServiceURL, Product+`/`+ReleaseVersion),
96-
apiProfile: APIProfile{},
96+
apiProfile: *config.APIProfile,
9797
}, nil
9898
}
9999

0 commit comments

Comments
 (0)