fix: fix the comflect

pull/1868/head
luhaoling 2 years ago
commit 3ecac7600b

@ -16,10 +16,11 @@ package rpcclient
import (
"context"
"net/url"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"google.golang.org/grpc"
"net/url"
"github.com/OpenIMSDK/protocol/third"
"github.com/OpenIMSDK/tools/discoveryregistry"

@ -28,6 +28,7 @@ import (
"github.com/OpenIMSDK/tools/component"
"github.com/OpenIMSDK/tools/errs"
"github.com/openimsdk/open-im-server/v3/pkg/common/config"
"gopkg.in/yaml.v3"
@ -141,7 +142,6 @@ func checkZookeeper() error {
// checkKafka checks the Kafka connection
func checkKafka() error {
// Prioritize environment variables
kafkaStu := &component.Kafka{
Username: config.Config.Kafka.Username,

Loading…
Cancel
Save