Skip to content

Commit

Permalink
Reformat ternary operation
Browse files Browse the repository at this point in the history
Resolves finding during `make pep8`

E122 continuation line missing indentation or outdented
  • Loading branch information
dsotirho-ucsc committed Nov 7, 2024
1 parent e8eef33 commit caac899
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions terraform/gitlab/gitlab.tf.json.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,11 +1061,7 @@ def merge(sets: Iterable[Iterable[str]]) -> Iterable[str]:
'egress': [
vpc.security_rule(description='Any traffic to the '
f"{'VPC' if split_tunnel else 'internet'}",
cidr_blocks=[
'${aws_vpc.gitlab.cidr_block}'
if split_tunnel else
all_ipv4
],
cidr_blocks=['${aws_vpc.gitlab.cidr_block}' if split_tunnel else all_ipv4],
protocol=-1,
from_port=0,
to_port=0),
Expand Down

0 comments on commit caac899

Please sign in to comment.