Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed Feb 6, 2024
1 parent 08ce778 commit 27b30f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkg/envoy/bootstrap/v3/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ func (c *Config) GenerateStatic() (string, error) {
Name: "xds_client_certificate",
SdsConfig: &envoy_config_core_v3.ConfigSource{
ResourceApiVersion: envoy_config_core_v3.ApiVersion_V3,
ConfigSourceSpecifier: &envoy_config_core_v3.ConfigSource_Path{
Path: c.Options.SdsConfigSourcePath,
// Path: c.Options.SdsConfigSourcePath,
ConfigSourceSpecifier: &envoy_config_core_v3.ConfigSource_PathConfigSource{
PathConfigSource: &envoy_config_core_v3.PathConfigSource{
Path: c.Options.SdsConfigSourcePath,
// WatchedDirectory: &envoy_config_core_v3.WatchedDirectory{},
},
},
},
},
Expand Down

0 comments on commit 27b30f8

Please sign in to comment.