Skip to content

Commit

Permalink
chore: Simply format string
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Swanson <[email protected]>
  • Loading branch information
Tom Jorissen and zerbitx committed Jan 19, 2024
1 parent af3fcc4 commit 0722b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/admin/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func NewPulsarAdmin(conf PulsarAdminConfig) (PulsarAdmin, error) {
}
} else if conf.ClientCertificatePath != "" {
config.AuthPlugin = auth.TLSPluginName
config.AuthParams = fmt.Sprintf("{\"tlsCertFile\": %q, \"tlsKeyFile\": %q}", conf.ClientCertificatePath, conf.ClientCertificateKeyPath)
config.AuthParams = fmt.Sprintf(`{"tlsCertFile": %q, "tlsKeyFile": %q}`, conf.ClientCertificatePath, conf.ClientCertificateKeyPath)

adminClient, err = admin.New(config)
if err != nil {
Expand Down

0 comments on commit 0722b35

Please sign in to comment.