mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 19:22:46 +08:00
script
This commit is contained in:
parent
1f089cbbe3
commit
f693b6f335
@ -3,7 +3,6 @@ package cmd
|
||||
import (
|
||||
"OpenIM/internal/startrpc"
|
||||
"OpenIM/pkg/discoveryregistry"
|
||||
"github.com/spf13/cobra"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
@ -17,10 +16,10 @@ func NewAuthCmd() *AuthCmd {
|
||||
}
|
||||
|
||||
func (a *AuthCmd) Execute() error {
|
||||
a.Command.Run = func(cmd *cobra.Command, args []string) {
|
||||
//a.port = a.getPortFlag(cmd)
|
||||
//a.prometheusPort = a.getPrometheusPortFlag(cmd)
|
||||
}
|
||||
//a.Command.Run = func(cmd *cobra.Command, args []string) {
|
||||
// a.port = a.getPortFlag(cmd)
|
||||
// a.prometheusPort = a.getPrometheusPortFlag(cmd)
|
||||
//}
|
||||
return a.Execute()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user