mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix: fix the comflect
This commit is contained in:
commit
3ecac7600b
@ -16,10 +16,11 @@ package rpcclient
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"net/url"
|
||||||
|
|
||||||
"github.com/minio/minio-go/v7"
|
"github.com/minio/minio-go/v7"
|
||||||
"github.com/minio/minio-go/v7/pkg/credentials"
|
"github.com/minio/minio-go/v7/pkg/credentials"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"net/url"
|
|
||||||
|
|
||||||
"github.com/OpenIMSDK/protocol/third"
|
"github.com/OpenIMSDK/protocol/third"
|
||||||
"github.com/OpenIMSDK/tools/discoveryregistry"
|
"github.com/OpenIMSDK/tools/discoveryregistry"
|
||||||
|
|||||||
@ -28,6 +28,7 @@ import (
|
|||||||
|
|
||||||
"github.com/OpenIMSDK/tools/component"
|
"github.com/OpenIMSDK/tools/component"
|
||||||
"github.com/OpenIMSDK/tools/errs"
|
"github.com/OpenIMSDK/tools/errs"
|
||||||
|
|
||||||
"github.com/openimsdk/open-im-server/v3/pkg/common/config"
|
"github.com/openimsdk/open-im-server/v3/pkg/common/config"
|
||||||
|
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
@ -141,7 +142,6 @@ func checkZookeeper() error {
|
|||||||
|
|
||||||
// checkKafka checks the Kafka connection
|
// checkKafka checks the Kafka connection
|
||||||
func checkKafka() error {
|
func checkKafka() error {
|
||||||
|
|
||||||
// Prioritize environment variables
|
// Prioritize environment variables
|
||||||
kafkaStu := &component.Kafka{
|
kafkaStu := &component.Kafka{
|
||||||
Username: config.Config.Kafka.Username,
|
Username: config.Config.Kafka.Username,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user