diff --git a/app/community/rpc/pb.go b/app/community/rpc/pb.go index 82c8fde..5a7a1a0 100644 --- a/app/community/rpc/pb.go +++ b/app/community/rpc/pb.go @@ -22,7 +22,7 @@ func main() { flag.Parse() var c config.Config - conf.MustLoad(*configFile, &c) + conf.MustLoad(*configFile, &c, conf.UseEnv()) ctx := svc.NewServiceContext(c) s := zrpc.MustNewServer(c.RpcServerConf, func(grpcServer *grpc.Server) {