Skip to content

Commit

Permalink
fix: configuration API returns wrong app_id (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeSteven authored Jun 7, 2022
1 parent 4f5a3e4 commit c9081af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/grpc/default_api/api_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9081af

Please sign in to comment.