Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Mar 8, 2021
1 parent 8849f82 commit 58b842c
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 58b842c

Please sign in to comment.