Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Mar 5, 2021
1 parent 192fbc0 commit a7fb22c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xds/internal/client/xds.go
Expand Up @@ -572,8 +572,7 @@ func validateCluster(cluster *v3clusterpb.Cluster) (ClusterUpdate, error) {
var sc *SecurityConfig
if env.ClientSideSecuritySupport {
var err error
sc, err = securityConfigFromCluster(cluster)
if err != nil {
if sc, err = securityConfigFromCluster(cluster); err != nil {
return emptyUpdate, err
}
}
Expand Down

0 comments on commit a7fb22c

Please sign in to comment.