Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul2393 committed Dec 13, 2022
1 parent aaa7a9d commit d4ad45f
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -24,7 +24,6 @@
import com.google.cloud.spanner.Spanner;
import com.google.cloud.spanner.SpannerOptions;
import com.google.common.collect.ImmutableList;

import java.util.ArrayList;
import java.util.List;

Expand Down Expand Up @@ -80,9 +79,7 @@ static void enableFineGrainedAccess(
Condition.newBuilder()
.setDescription(title)
.setExpression(
String.format(
"resource.type == \"spanner.googleapis.com/DatabaseRole\" && resource.name.endsWith(\"/databaseRoles/%s\")",
role))
String.format("resource.name.endsWith(\"/databaseRoles/%s\")", role))
.setTitle(title)
.build())
.setMembers(members)
Expand Down

0 comments on commit d4ad45f

Please sign in to comment.