admin server: fix tls setting
fix https://github.com/seaweedfs/seaweedfs/issues/7038#issuecomment-3124471878
This commit is contained in:
@@ -60,7 +60,7 @@ type AdminServer struct {
|
|||||||
// Type definitions moved to types.go
|
// Type definitions moved to types.go
|
||||||
|
|
||||||
func NewAdminServer(masters string, templateFS http.FileSystem, dataDir string) *AdminServer {
|
func NewAdminServer(masters string, templateFS http.FileSystem, dataDir string) *AdminServer {
|
||||||
grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
|
grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.admin")
|
||||||
|
|
||||||
// Create master client with multiple master support
|
// Create master client with multiple master support
|
||||||
masterClient := wdclient.NewMasterClient(
|
masterClient := wdclient.NewMasterClient(
|
||||||
|
|||||||
Reference in New Issue
Block a user