From c9081af760dd4a634af1986d1cc8d75e8f33ee25 Mon Sep 17 00:00:00 2001 From: SongTao Zhuang <51652084+MichaelDeSteven@users.noreply.github.com> Date: Tue, 7 Jun 2022 23:57:29 +0800 Subject: [PATCH] fix: configuration API returns wrong app_id (#629) --- pkg/grpc/default_api/api_configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/grpc/default_api/api_configuration.go b/pkg/grpc/default_api/api_configuration.go index b13c2c7ca3..fd98306571 100644 --- a/pkg/grpc/default_api/api_configuration.go +++ b/pkg/grpc/default_api/api_configuration.go @@ -163,7 +163,7 @@ func (a *api) SubscribeConfiguration(sub runtimev1pb.Runtime_SubscribeConfigurat items = append(items, &runtimev1pb.ConfigurationItem{Group: item.Group, Label: item.Label, Key: item.Key, Content: item.Content, Tags: item.Tags, Metadata: item.Metadata}) } // write to response stream - sub.Send(&runtimev1pb.SubscribeConfigurationResponse{StoreName: resp.StoreName, AppId: resp.StoreName, Items: items}) + sub.Send(&runtimev1pb.SubscribeConfigurationResponse{StoreName: resp.StoreName, AppId: resp.AppId, Items: items}) // read exit signal case <-recvExitCh: return