@@ -34,7 +34,7 @@ func main() {
3434 }
3535}
3636
37- const confPrefix = "QUBIC_AGGREGATION_GENERAL_SERVICE "
37+ const confPrefix = "QUBIC_AGGREGATION_SERVICE "
3838
3939func run (logger * zap.SugaredLogger ) error {
4040
@@ -59,21 +59,21 @@ func run(logger *zap.SugaredLogger) error {
5959
6060 fmt .Println (conf .String (& cfg ))
6161
62- liveServiceGrpcConn , err := grpcclient .NewConnection (cfg .Upstream .QubicHttpHost )
62+ liveServiceGrpcConn , err := grpcclient .NewConnection (cfg .Upstream .QubicHttpUrl )
6363 if err != nil {
6464 return fmt .Errorf ("creating live service client connection: %w" , err )
6565 }
6666 defer liveServiceGrpcConn .Close ()
6767 liveClient := clients .NewLiveServiceClient (liveServiceGrpcConn , logger .Named ("live-service" ))
6868
69- queryServiceGrpcConn , err := grpcclient .NewConnection (cfg .Upstream .ArchiveQueryServiceHost )
69+ queryServiceGrpcConn , err := grpcclient .NewConnection (cfg .Upstream .QueryServiceUrl )
7070 if err != nil {
7171 return fmt .Errorf ("creating query service client connection: %w" , err )
7272 }
7373 defer queryServiceGrpcConn .Close ()
7474 queryClient := clients .NewQueryServiceClient (queryServiceGrpcConn , logger .Named ("query-service" ))
7575
76- statusServiceGrpcConn , err := grpcclient .NewConnection (cfg .Upstream .StatusServiceHost )
76+ statusServiceGrpcConn , err := grpcclient .NewConnection (cfg .Upstream .StatusServiceUrl )
7777 if err != nil {
7878 return fmt .Errorf ("creating status service client connection: %w" , err )
7979 }
0 commit comments