Skip to content

Commit

Permalink
fix: upstream discovery args metadata field caused crash. (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuijie committed Aug 7, 2023
1 parent e0290c8 commit e8bc9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/internal/core/entity/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ type UpstreamDef struct {
Key string `json:"key,omitempty"`
Scheme string `json:"scheme,omitempty"`
DiscoveryType string `json:"discovery_type,omitempty"`
DiscoveryArgs map[string]string `json:"discovery_args,omitempty"`
DiscoveryArgs map[string]interface{} `json:"discovery_args,omitempty"`
PassHost string `json:"pass_host,omitempty"`
UpstreamHost string `json:"upstream_host,omitempty"`
Name string `json:"name,omitempty"`
Expand Down

0 comments on commit e8bc9b9

Please sign in to comment.