Skip to content

Commit 8446df9

Browse files
remove printf statements()
1 parent 8eac891 commit 8446df9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pinecone/client.go

-6
Original file line numberDiff line numberDiff line change
@@ -465,17 +465,11 @@ func (ncp *NewClientParams) buildClientOptions() ([]control.ClientOption, error)
465465
// if apiKey is provided and no auth header is set, add the apiKey as a header
466466
// apiKey from parameters takes precedence over apiKey from environment
467467
if hasApiKey && !hasAuthorizationHeader {
468-
469-
fmt.Printf("OS API KEY: %s\n", osApiKey)
470-
fmt.Printf("NCP PARAMS API KEY: %s\n", ncp.ApiKey)
471-
472468
var appliedApiKey string
473469
if ncp.ApiKey != "" {
474470
appliedApiKey = ncp.ApiKey
475-
fmt.Printf("ncp key applied")
476471
} else {
477472
appliedApiKey = osApiKey
478-
fmt.Printf("os key applied")
479473
}
480474

481475
apiKeyProvider, err := securityprovider.NewSecurityProviderApiKey("header", "Api-Key", appliedApiKey)

0 commit comments

Comments
 (0)