mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-16 19:19:23 +08:00
cicd: robot automated Change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
6f0eea2e81
commit
bfdff1694d
@ -17,9 +17,10 @@ package kafka
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
|
||||||
"github.com/OpenIMSDK/tools/log"
|
"github.com/OpenIMSDK/tools/log"
|
||||||
|
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
|
||||||
"github.com/Shopify/sarama"
|
"github.com/Shopify/sarama"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
package kafka
|
package kafka
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/Shopify/sarama"
|
||||||
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/tls"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/tls"
|
||||||
"github.com/Shopify/sarama"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// SetupTLSConfig set up the TLS config from config file.
|
// SetupTLSConfig set up the TLS config from config file.
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import (
|
|||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func decryptPEM(data []byte, passphrase []byte) ([]byte, error) {
|
func decryptPEM(data []byte, passphrase []byte) ([]byte, error) {
|
||||||
if len(passphrase) == 0 {
|
if len(passphrase) == 0 {
|
||||||
return data, nil
|
return data, nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user