Skip to content

Commit f13f66c

Browse files
committed
add sync
1 parent f51198e commit f13f66c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/adc/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type Resources struct {
7272
GlobalRules Plugins `json:"global_rules,omitempty" yaml:"global_rules,omitempty"`
7373
PluginMetadata Plugins `json:"plugin_metadata,omitempty" yaml:"plugin_metadata,omitempty"`
7474
Services []*Service `json:"services,omitempty" yaml:"services,omitempty"`
75-
Ssls []*SSL `json:"ssls,omitempty" yaml:"ssls,omitempty"`
75+
SSLs []*SSL `json:"ssls,omitempty" yaml:"ssls,omitempty"`
7676
}
7777

7878
type ConsumerGroup struct {

internal/provider/adc/adc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func (d *adcClient) Update(ctx context.Context, tctx *provider.TranslateContext,
5959

6060
resources := types.Resources{
6161
Services: result.Services,
62+
SSLs: result.SSL,
6263
}
6364

6465
return d.sync(Task{

0 commit comments

Comments
 (0)