Skip to content

Commit

Permalink
Condition 'policies != null' is always 'true' ,no need to judge. (apa…
Browse files Browse the repository at this point in the history
…che#13577)

Co-authored-by: lightzhao <[email protected]>
  • Loading branch information
lightzhao and zhaoliang01 authored Jan 5, 2022
1 parent f6d033f commit 4b5085f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ private void updatePublishDispatcher(Optional<Policies> optPolicies) {
}

// attach the resource-group level rate limiters, if set
String rgName = policies != null && policies.resource_group_name != null
String rgName = policies.resource_group_name != null
? policies.resource_group_name
: null;
if (rgName != null) {
Expand Down

0 comments on commit 4b5085f

Please sign in to comment.